wok-4.x annotate glib/receipt @ rev 2589
glib: Security fix (http://labs.slitaz.org/issues/show/32)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 08 10:36:15 2009 +0200 (2009-04-08) |
parents | 97b0cb0f1f38 |
children | d2a3dbc0687e |
rev | line source |
---|---|
pankso@22 | 1 # SliTaz package receipt. |
pankso@22 | 2 |
pankso@22 | 3 PACKAGE="glib" |
pankso@2000 | 4 VERSION="2.18.3" |
pankso@22 | 5 CATEGORY="x-window" |
pankso@22 | 6 SHORT_DESC="C routines." |
pankso@22 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@2000 | 8 BUILD_DEPENDS="gettext cairo-dev" |
pankso@22 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@22 | 10 WEB_SITE="http://www.gtk.org/" |
pankso@2000 | 11 WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/glib/2.18/$TARBALL" |
pankso@22 | 12 |
pankso@22 | 13 # Rules to configure and make the package. |
pankso@22 | 14 compile_rules() |
pankso@22 | 15 { |
pankso@842 | 16 cd $src |
pankso@2589 | 17 # Security fix (http://labs.slitaz.org/issues/show/32) |
pankso@2589 | 18 patch -p 0 < ../stuff/glib-CVE-2008-4316.diff || exit 1 |
pankso@842 | 19 ./configure \ |
pankso@842 | 20 --prefix=/usr \ |
pankso@842 | 21 --sysconfdir=/etc \ |
pankso@842 | 22 --mandir=/usr/share/man \ |
pankso@842 | 23 --with-html-dir=/usr/share/doc \ |
pankso@842 | 24 $CONFIGURE_ARGS |
pankso@842 | 25 make |
pankso@842 | 26 make DESTDIR=$PWD/_pkg install |
pankso@22 | 27 } |
pankso@22 | 28 |
pankso@22 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@22 | 30 genpkg_rules() |
pankso@22 | 31 { |
pankso@547 | 32 mkdir -p $fs/usr/lib |
pankso@842 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@842 | 34 # split libgio |
pankso@842 | 35 rm $fs/usr/lib/libgio* |
pascal@1503 | 36 # Cook all packages based on glib |
pascal@1503 | 37 for i in $(cd $WOK; grep -l '^WANTED="glib"$' */receipt) |
pascal@1503 | 38 do |
pascal@1503 | 39 echo tazwok cook ${i%/receipt} |
pascal@1503 | 40 done |
pankso@22 | 41 } |