wok-6.x annotate json-glib/receipt @ rev 16515
Prepa for 5.0-RC1
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 25 04:31:00 2014 +0200 (2014-04-25) |
parents | f66acd3122e3 |
children | 6831608a1b2a |
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" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
gokhlayeh@11478 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
gokhlayeh@11478 | 10 WEB_SITE="http://live.gnome.org/JsonGlib" |
gokhlayeh@11478 | 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL" |
gokhlayeh@11478 | 12 TAGS="javascript" |
gokhlayeh@11478 | 13 |
slaxemulator@7553 | 14 DEPENDS="libgio glib" |
pascal@12586 | 15 BUILD_DEPENDS="pkg-config gobject-introspection-dev libgio-dev glib-dev" |
mallory@3710 | 16 |
mallory@3710 | 17 # Rules to configure and make the package. |
mallory@3710 | 18 compile_rules() |
mallory@3710 | 19 { |
mallory@3710 | 20 cd $src |
gokhlayeh@11478 | 21 ./configure $CONFIGURE_ARGS && |
gokhlayeh@11478 | 22 make && make install |
mallory@3710 | 23 } |
mallory@3710 | 24 |
mallory@3710 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@3710 | 26 genpkg_rules() |
mallory@3710 | 27 { |
mallory@3710 | 28 mkdir -p $fs/usr/lib |
pascal@14996 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@14996 | 30 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib |
mallory@3710 | 31 } |
mallory@3710 | 32 |