wok-current view json-glib/receipt @ rev 6708

Added a soft /usr/src/linux so its easier to port to the source.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Oct 14 02:00:26 2010 +0000 (2010-10-14)
parents 8c1084e51b0b
children 64b9962a25fe
line source
1 # SliTaz package receipt.
3 PACKAGE="json-glib"
4 VERSION="0.12.0"
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.bz2"
11 WEB_SITE="http://live.gnome.org/JsonGlib"
12 WGET_URL="ftp://ftp.gnome.org/pub/gnome/sources/json-glib/0.12/$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 }