wok view glib/receipt @ rev 3082

Up: slitaz-configs (3.0)
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 15 23:31:04 2009 +0200 (2009-05-15)
parents d2a3dbc0687e
children f4178be6d372
line source
1 # SliTaz package receipt.
3 PACKAGE="glib"
4 VERSION="2.20.1"
5 CATEGORY="x-window"
6 SHORT_DESC="C routines."
7 MAINTAINER="pankso@slitaz.org"
8 BUILD_DEPENDS="gettext cairo-dev"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.gtk.org/"
11 WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/glib/2.20/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --sysconfdir=/etc \
20 --mandir=/usr/share/man \
21 --with-html-dir=/usr/share/doc \
22 --with-libiconv=no \
23 $CONFIGURE_ARGS
24 make
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 # split libgio
34 rm $fs/usr/lib/libgio*
35 # Cook all packages based on glib
36 for i in $(cd $WOK; grep -l '^WANTED="glib"$' */receipt)
37 do
38 echo tazwok cook ${i%/receipt}
39 done
40 }