wok-next view yajl/receipt @ rev 18231

linld: add tobzimage (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 23 12:14:30 2015 +0200 (2015-07-23)
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 }