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

yaff: need to follow slitaz-dev-tools version (and so taged repos to include baba-scripts files)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jun 01 00:20:33 2011 +0200 (2011-06-01)
parents 0ee3214d7d96
children 617dbdeb6f7e
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 BUILD_DEPENDS="cmake doxygen git"
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 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 cmake \
19 -DCMAKE_INSTALL_PREFIX=/usr \
20 .
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $_pkg/usr $fs
28 }