wok view json-glib/receipt @ rev 7746

Up: snort to 2.9.0.3.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Dec 20 17:48:16 2010 +0000 (2010-12-20)
parents 494840757dbf
children 63f55f52c422
line source
1 # SliTaz package receipt.
3 PACKAGE="json-glib"
4 VERSION="0.12.0"
5 CATEGORY="development"
6 SHORT_DESC="JSON-GLib is a library providing serialization and deserialization support for the JavaScript Object Notation"
7 MAINTAINER="mallory@sweetpeople.org"
8 DEPENDS="libgio glib"
9 BUILD_DEPENDS="glib-dev libgio-dev pkg-config gobject-introspection-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://live.gnome.org/JsonGlib"
12 WGET_URL="ftp://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 TAGS="javascript"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
33 }