wok annotate yajl/receipt @ rev 13165
Add lorcon-old.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jul 30 04:17:18 2012 +0000 (2012-07-30) |
parents | 0ee3214d7d96 |
children | 617dbdeb6f7e |
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 |