wok-6.x view yajl/receipt @ rev 18552

Up slitaz-tools(952)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Nov 07 22:01:33 2015 +0200 (2015-11-07)
parents 6b1ce5d876c8
children b2ecc21526eb
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 }