wok annotate json-glib/receipt @ rev 5144

smbclient: lib files move to samba-common + Fix DEPENDS
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Mar 23 23:24:39 2010 +0100 (2010-03-23)
parents e31abfb7cc89
children 8c1084e51b0b
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"
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