wok-current annotate json-glib/receipt @ rev 4239

task: fix WGET (again)
author Paul Issott <paul@slitaz.org>
date Thu Sep 24 17:50:39 2009 +0000 (2009-09-24)
parents
children 4466fa74bc06
rev   line source
mallory@3710 1 # SliTaz package receipt.
mallory@3710 2
mallory@3710 3 PACKAGE="json-glib"
mallory@3710 4 VERSION="0.7.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"
mallory@3710 9 BUILD_DEPENDS="glib-dev"
mallory@3710 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
mallory@3710 11 WEB_SITE="http://live.gnome.org/JsonGlib"
mallory@3710 12 WGET_URL="ftp://ftp.gnome.org/pub/gnome/sources/json-glib/0.7/$TARBALL"
mallory@3710 13
mallory@3710 14 # Rules to configure and make the package.
mallory@3710 15 compile_rules()
mallory@3710 16 {
mallory@3710 17 cd $src
mallory@3710 18 ./configure \
mallory@3710 19 --prefix=/usr \
mallory@3710 20 --infodir=/usr/share/info \
mallory@3710 21 --mandir=/usr/share/man \
mallory@3710 22 $CONFIGURE_ARGS &&
mallory@3710 23 make && make DESTDIR=$PWD/_pkg install
mallory@3710 24 }
mallory@3710 25
mallory@3710 26 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@3710 27 genpkg_rules()
mallory@3710 28 {
mallory@3710 29 mkdir -p $fs/usr/lib
mallory@3710 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
mallory@3710 31 }
mallory@3710 32