wok-4.x view json-glib/receipt @ rev 7553
Add /usr/libgirepostiory-1.0 and /usr/share/gir-1.0 to json-glib packages.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Dec 08 10:34:40 2010 +0000 (2010-12-08) |
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 }