wok-current annotate json-glib/receipt @ rev 11417
add: libesmtp, libesmtp-dev
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Dec 14 02:29:52 2011 +0100 (2011-12-14) |
parents | 64b9962a25fe |
children | ab75a8415135 |
rev | line source |
---|---|
mallory@3710 | 1 # SliTaz package receipt. |
mallory@3710 | 2 |
mallory@3710 | 3 PACKAGE="json-glib" |
slaxemulator@9580 | 4 VERSION="0.12.4" |
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@9580 | 9 BUILD_DEPENDS="pkg-config gobject-introspection-dev" |
slaxemulator@6482 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
mallory@3710 | 11 WEB_SITE="http://live.gnome.org/JsonGlib" |
slaxemulator@9580 | 12 WGET_URL="$GNOME_MIRROR/$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 |
slaxemulator@9580 | 19 ./configure && make && make install |
mallory@3710 | 20 } |
mallory@3710 | 21 |
mallory@3710 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@3710 | 23 genpkg_rules() |
mallory@3710 | 24 { |
mallory@3710 | 25 mkdir -p $fs/usr/lib |
mallory@3710 | 26 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7553 | 27 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib |
mallory@3710 | 28 } |
mallory@3710 | 29 |