wok annotate json-glib/receipt @ rev 6633

Up: json-glib to 0.12.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 10 12:50:11 2010 +0000 (2010-10-10)
parents 8c1084e51b0b
children 64b9962a25fe
rev   line source
mallory@3710 1 # SliTaz package receipt.
mallory@3710 2
mallory@3710 3 PACKAGE="json-glib"
slaxemulator@6633 4 VERSION="0.12.0"
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@6633 9 BUILD_DEPENDS="glib-dev"
slaxemulator@6482 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
mallory@3710 11 WEB_SITE="http://live.gnome.org/JsonGlib"
slaxemulator@6633 12 WGET_URL="ftp://ftp.gnome.org/pub/gnome/sources/json-glib/0.12/$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