wok-next view yajl/receipt @ rev 11502
libglade: Try to fix build
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Dec 22 10:46:12 2011 +0100 (2011-12-22) |
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 }