wok-stable annotate yajl/receipt @ rev 10716
move enna to undigest (do not build)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 28 21:32:41 2011 +0200 (2011-05-28) |
parents | 0ee3214d7d96 |
children |
rev | line source |
---|---|
slaxemulator@7915 | 1 # SliTaz package receipt. |
slaxemulator@7915 | 2 |
slaxemulator@7915 | 3 PACKAGE="yajl" |
slaxemulator@10184 | 4 VERSION="2.0.2" |
slaxemulator@7915 | 5 CATEGORY="development" |
slaxemulator@7915 | 6 SHORT_DESC="Yet Another JSON Library" |
slaxemulator@7915 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@7915 | 8 BUILD_DEPENDS="cmake doxygen git" |
pankso@10619 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@7915 | 10 WEB_SITE="https://github.com/lloyd/yajl" |
gokhlayeh@8583 | 11 WGET_URL="git|git://github.com/lloyd/yajl.git" |
gokhlayeh@8583 | 12 BRANCH="$VERSION" |
slaxemulator@7915 | 13 |
slaxemulator@7915 | 14 # Rules to configure and make the package. |
slaxemulator@7915 | 15 compile_rules() |
slaxemulator@7915 | 16 { |
slaxemulator@7915 | 17 cd $src |
slaxemulator@7915 | 18 cmake \ |
slaxemulator@7915 | 19 -DCMAKE_INSTALL_PREFIX=/usr \ |
slaxemulator@7915 | 20 . |
slaxemulator@7915 | 21 make DESTDIR=$PWD/_pkg install |
slaxemulator@7915 | 22 } |
slaxemulator@7915 | 23 |
slaxemulator@7915 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7915 | 25 genpkg_rules() |
slaxemulator@7915 | 26 { |
slaxemulator@7915 | 27 cp -a $_pkg/usr $fs |
slaxemulator@7915 | 28 } |
slaxemulator@7915 | 29 |