wok-4.x view yajl/receipt @ rev 9392
Add rt-source-patch. This is so rt-source patch is downloaded to src folder and can be added to modular slitaz source dvd.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Mar 26 13:07:23 2011 +0000 (2011-03-26) |
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 }