wok-current view yajl/receipt @ rev 12030
stella: move post_install code to genpkg_rules. It's far better to run a command once on the builder than on install on each of our computer.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Mar 06 22:40:08 2012 +0100 (2012-03-06) |
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 }