wok-stable annotate glib/receipt @ rev 104
Modified meta pkgs xorg + xorg-dev to cook/install Xorg
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jan 04 17:36:02 2008 +0100 (2008-01-04) |
parents | |
children | d103e8bbb768 |
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@22 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@22 | 9 WEB_SITE="http://www.gtk.org/" |
pankso@22 | 10 WGET_URL="ftp://ftp.gtk.org/pub/glib/2.12/$TARBALL" |
pankso@22 | 11 |
pankso@22 | 12 # Rules to configure and make the package. |
pankso@22 | 13 compile_rules() |
pankso@22 | 14 { |
pankso@22 | 15 cd $src |
pankso@22 | 16 ./configure --prefix=/usr --sysconfdir=/etc \ |
pankso@22 | 17 --mandir=/usr/share/man --with-html-dir=/usr/share/doc \ |
pankso@22 | 18 $CONFIGURE_ARGS |
pankso@22 | 19 make |
pankso@22 | 20 make DESTDIR=$PWD/_pkg install |
pankso@22 | 21 } |
pankso@22 | 22 |
pankso@22 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@22 | 24 genpkg_rules() |
pankso@22 | 25 { |
pankso@22 | 26 mkdir -p $fs/usr/lib $fs/usr/share/locale |
pankso@22 | 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@22 | 28 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@22 | 29 strip --strip-unneeded $fs/usr/lib/* |
pankso@22 | 30 } |