wok-next annotate json-glib/receipt @ rev 12637
Up lguest (3.2.14)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 29 20:52:23 2012 +0200 (2012-04-29) |
parents | ab75a8415135 |
children | 76b72f1ad63c |
rev | line source |
---|---|
mallory@3710 | 1 # SliTaz package receipt. |
mallory@3710 | 2 |
mallory@3710 | 3 PACKAGE="json-glib" |
gokhlayeh@11478 | 4 VERSION="0.14.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" |
gokhlayeh@11478 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
gokhlayeh@11478 | 9 WEB_SITE="http://live.gnome.org/JsonGlib" |
gokhlayeh@11478 | 10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL" |
gokhlayeh@11478 | 11 TAGS="javascript" |
gokhlayeh@11478 | 12 |
slaxemulator@7553 | 13 DEPENDS="libgio glib" |
pascal@12586 | 14 BUILD_DEPENDS="pkg-config gobject-introspection-dev libgio-dev glib-dev" |
mallory@3710 | 15 |
mallory@3710 | 16 # Rules to configure and make the package. |
mallory@3710 | 17 compile_rules() |
mallory@3710 | 18 { |
mallory@3710 | 19 cd $src |
gokhlayeh@11478 | 20 ./configure $CONFIGURE_ARGS && |
gokhlayeh@11478 | 21 make && make install |
mallory@3710 | 22 } |
mallory@3710 | 23 |
mallory@3710 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@3710 | 25 genpkg_rules() |
mallory@3710 | 26 { |
mallory@3710 | 27 mkdir -p $fs/usr/lib |
mallory@3710 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7553 | 29 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib |
mallory@3710 | 30 } |
mallory@3710 | 31 |