wok annotate yajl/receipt @ rev 17354
Up: audacity (2.0.6)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun Nov 16 00:18:13 2014 +0000 (2014-11-16) |
parents | 6b1ce5d876c8 |
children | b2ecc21526eb |
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" |
pascal@15362 | 8 LICENSE="BSD" |
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 |
pascal@15362 | 14 BUILD_DEPENDS="cmake doxygen git" |
pascal@15362 | 15 |
slaxemulator@7915 | 16 # Rules to configure and make the package. |
slaxemulator@7915 | 17 compile_rules() |
slaxemulator@7915 | 18 { |
slaxemulator@7915 | 19 cd $src |
slaxemulator@7915 | 20 cmake \ |
slaxemulator@7915 | 21 -DCMAKE_INSTALL_PREFIX=/usr \ |
slaxemulator@7915 | 22 . |
pascal@15362 | 23 make DESTDIR=$DESTDIR install |
slaxemulator@7915 | 24 } |
slaxemulator@7915 | 25 |
slaxemulator@7915 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7915 | 27 genpkg_rules() |
slaxemulator@7915 | 28 { |
pascal@15362 | 29 cp -a $install/usr $fs |
slaxemulator@7915 | 30 } |
slaxemulator@7915 | 31 |