wok annotate yajl/receipt @ rev 10595
samba: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 26 12:47:25 2011 +0200 (2011-05-26) |
parents | e06d60ae03eb |
children | 6b1ce5d876c8 |
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" |
slaxemulator@7915 | 9 WEB_SITE="https://github.com/lloyd/yajl" |
gokhlayeh@8583 | 10 WGET_URL="git|git://github.com/lloyd/yajl.git" |
gokhlayeh@8583 | 11 BRANCH="$VERSION" |
slaxemulator@7915 | 12 |
slaxemulator@7915 | 13 # Rules to configure and make the package. |
slaxemulator@7915 | 14 compile_rules() |
slaxemulator@7915 | 15 { |
slaxemulator@7915 | 16 cd $src |
slaxemulator@7915 | 17 cmake \ |
slaxemulator@7915 | 18 -DCMAKE_INSTALL_PREFIX=/usr \ |
slaxemulator@7915 | 19 . |
slaxemulator@7915 | 20 make DESTDIR=$PWD/_pkg install |
slaxemulator@7915 | 21 } |
slaxemulator@7915 | 22 |
slaxemulator@7915 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7915 | 24 genpkg_rules() |
slaxemulator@7915 | 25 { |
slaxemulator@7915 | 26 cp -a $_pkg/usr $fs |
slaxemulator@7915 | 27 } |
slaxemulator@7915 | 28 |