wok-6.x view glib/receipt @ rev 2710
ffmpeg mktemp patch fails so cp configure
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Apr 22 19:00:20 2009 +0000 (2009-04-22) |
parents | 97b0cb0f1f38 |
children | d2a3dbc0687e |
line source
1 # SliTaz package receipt.
3 PACKAGE="glib"
4 VERSION="2.18.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.18/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 # Security fix (http://labs.slitaz.org/issues/show/32)
18 patch -p 0 < ../stuff/glib-CVE-2008-4316.diff || exit 1
19 ./configure \
20 --prefix=/usr \
21 --sysconfdir=/etc \
22 --mandir=/usr/share/man \
23 --with-html-dir=/usr/share/doc \
24 $CONFIGURE_ARGS
25 make
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 # split libgio
35 rm $fs/usr/lib/libgio*
36 # Cook all packages based on glib
37 for i in $(cd $WOK; grep -l '^WANTED="glib"$' */receipt)
38 do
39 echo tazwok cook ${i%/receipt}
40 done
41 }