wok-4.x view json-glib/receipt @ rev 6054

exo: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 18 09:37:20 2010 +0200 (2010-08-18)
parents e31abfb7cc89
children 8c1084e51b0b
line source
1 # SliTaz package receipt.
3 PACKAGE="json-glib"
4 VERSION="0.7.2"
5 CATEGORY="development"
6 SHORT_DESC="JSON-GLib is a library providing serialization and deserialization support for the JavaScript Object Notation"
7 MAINTAINER="mallory@sweetpeople.org"
8 DEPENDS="glib"
9 BUILD_DEPENDS="glib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://live.gnome.org/JsonGlib"
12 WGET_URL="ftp://ftp.gnome.org/pub/gnome/sources/json-glib/0.7/$TARBALL"
13 TAGS="javascript"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 }