wok-next annotate json-glib/receipt @ rev 17176

Up slitaz-tools
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Sep 26 16:58:03 2014 +0200 (2014-09-26)
parents f66acd3122e3
children e70c0b9c5adf
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