wok-next view yajl/receipt @ rev 19066
It works, but needs review and improvement. Thank you.
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Thu Apr 21 06:32:59 2016 -0300 (2016-04-21) |
parents | 6b1ce5d876c8 |
children | 1ff723a6455b |
line source
1 # SliTaz package receipt.
3 PACKAGE="yajl"
4 VERSION="2.0.2"
5 CATEGORY="development"
6 SHORT_DESC="Yet Another JSON Library"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://github.com/lloyd/yajl"
11 WGET_URL="git|git://github.com/lloyd/yajl.git"
12 BRANCH="$VERSION"
14 BUILD_DEPENDS="cmake doxygen git"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 cmake \
21 -DCMAKE_INSTALL_PREFIX=/usr \
22 .
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/usr $fs
30 }