wok view glib/receipt @ rev 3534
merge 3532:012d72b2b629 , 3530:0109c31e8835
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Mon Jun 22 17:35:58 2009 +0800 (2009-06-22) |
parents | 2c679ce49f4c |
children | 06704f7c8cdd |
line source
1 # SliTaz package receipt.
3 PACKAGE="glib"
4 VERSION="2.20.3"
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 $CONFIGURE_ARGS
23 make
24 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 # split libgio
33 rm $fs/usr/lib/libgio*
34 # Cook all packages based on glib
35 for i in $(cd $WOK; grep -l '^WANTED="glib"$' */receipt)
36 do
37 echo tazwok cook ${i%/receipt}
38 done
39 }