wok annotate yajl/receipt @ rev 10122
merge
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 20 22:15:25 2011 +0200 (2011-05-20) |
parents | 02382626b067 |
children | 0ee3214d7d96 |
rev | line source |
---|---|
slaxemulator@7915 | 1 # SliTaz package receipt. |
slaxemulator@7915 | 2 |
slaxemulator@7915 | 3 PACKAGE="yajl" |
slaxemulator@7915 | 4 VERSION="1.0.11" |
slaxemulator@7915 | 5 CATEGORY="development" |
slaxemulator@7915 | 6 SHORT_DESC="Yet Another JSON Library" |
slaxemulator@7915 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@7915 | 8 DEPENDS="" |
slaxemulator@7915 | 9 BUILD_DEPENDS="cmake doxygen git" |
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 |