wok annotate glib/receipt @ rev 115
Set BUILD_DEPENDS for cairo, glib, atk and gtk+
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jan 05 00:17:11 2008 +0100 (2008-01-05) |
parents | ad5e33e4dad7 |
children | d5e75812e704 |
rev | line source |
---|---|
pankso@22 | 1 # SliTaz package receipt. |
pankso@22 | 2 |
pankso@22 | 3 PACKAGE="glib" |
pankso@22 | 4 VERSION="2.12.4" |
pankso@22 | 5 CATEGORY="x-window" |
pankso@22 | 6 SHORT_DESC="C routines." |
pankso@22 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@115 | 8 BUILD_DEPENDS="cairo-dev" |
pankso@22 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@22 | 10 WEB_SITE="http://www.gtk.org/" |
pankso@22 | 11 WGET_URL="ftp://ftp.gtk.org/pub/glib/2.12/$TARBALL" |
pankso@22 | 12 |
pankso@22 | 13 # Rules to configure and make the package. |
pankso@22 | 14 compile_rules() |
pankso@22 | 15 { |
pankso@22 | 16 cd $src |
pankso@22 | 17 ./configure --prefix=/usr --sysconfdir=/etc \ |
pankso@22 | 18 --mandir=/usr/share/man --with-html-dir=/usr/share/doc \ |
pankso@22 | 19 $CONFIGURE_ARGS |
pankso@22 | 20 make |
pankso@22 | 21 make DESTDIR=$PWD/_pkg install |
pankso@22 | 22 } |
pankso@22 | 23 |
pankso@22 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@22 | 25 genpkg_rules() |
pankso@22 | 26 { |
pankso@22 | 27 mkdir -p $fs/usr/lib $fs/usr/share/locale |
pankso@22 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@22 | 29 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@22 | 30 strip --strip-unneeded $fs/usr/lib/* |
pankso@22 | 31 } |