wok-current view yajl/receipt @ rev 8583

imported patch get/yajl
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Feb 13 22:57:57 2011 +0100 (2011-02-13)
parents 02382626b067
children 0ee3214d7d96
line source
1 # SliTaz package receipt.
3 PACKAGE="yajl"
4 VERSION="1.0.11"
5 CATEGORY="development"
6 SHORT_DESC="Yet Another JSON Library"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS=""
9 BUILD_DEPENDS="cmake doxygen git"
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 }