wok-6.x annotate json-glib/receipt @ rev 8693

Automated merge with http://repos.slitaz.org/wok
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Feb 17 19:08:45 2011 +0100 (2011-02-17)
parents 494840757dbf
children 63f55f52c422
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"
slaxemulator@7553 8 DEPENDS="libgio glib"
slaxemulator@7553 9 BUILD_DEPENDS="glib-dev libgio-dev pkg-config gobject-introspection-dev"
slaxemulator@6482 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
mallory@3710 11 WEB_SITE="http://live.gnome.org/JsonGlib"
slaxemulator@7553 12 WGET_URL="ftp://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$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
slaxemulator@7553 32 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
mallory@3710 33 }
mallory@3710 34