wok annotate json-glib/receipt @ rev 6482

Up: json-glib, json-glib-dev to 0.11.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Sep 30 03:29:39 2010 +0000 (2010-09-30)
parents 4466fa74bc06
children 494840757dbf
rev   line source
mallory@3710 1 # SliTaz package receipt.
mallory@3710 2
mallory@3710 3 PACKAGE="json-glib"
slaxemulator@6482 4 VERSION="0.11.2"
mallory@3710 5 CATEGORY="development"
mallory@3710 6 SHORT_DESC="JSON-GLib is a library providing serialization and deserialization support for the JavaScript Object Notation"
mallory@3710 7 MAINTAINER="mallory@sweetpeople.org"
mallory@3710 8 DEPENDS="glib"
slaxemulator@6482 9 BUILD_DEPENDS="glib-dev perl"
slaxemulator@6482 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
mallory@3710 11 WEB_SITE="http://live.gnome.org/JsonGlib"
slaxemulator@6482 12 WGET_URL="ftp://ftp.gnome.org/pub/gnome/sources/json-glib/0.11/$TARBALL"
jozee@4941 13 TAGS="javascript"
mallory@3710 14
mallory@3710 15 # Rules to configure and make the package.
mallory@3710 16 compile_rules()
mallory@3710 17 {
mallory@3710 18 cd $src
mallory@3710 19 ./configure \
mallory@3710 20 --prefix=/usr \
mallory@3710 21 --infodir=/usr/share/info \
mallory@3710 22 --mandir=/usr/share/man \
mallory@3710 23 $CONFIGURE_ARGS &&
mallory@3710 24 make && make DESTDIR=$PWD/_pkg install
mallory@3710 25 }
mallory@3710 26
mallory@3710 27 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@3710 28 genpkg_rules()
mallory@3710 29 {
mallory@3710 30 mkdir -p $fs/usr/lib
mallory@3710 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
mallory@3710 32 }
mallory@3710 33