wok-4.x annotate libglade/receipt @ rev 211
Most categorie are OK... (no more extra)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 13 15:26:29 2008 +0100 (2008-02-13) |
parents | ec1c67fbb4f8 |
children | 581ee22da6ae |
rev | line source |
---|---|
pankso@36 | 1 # SliTaz package receipt. |
pankso@36 | 2 |
pankso@36 | 3 PACKAGE="libglade" |
pankso@36 | 4 VERSION="2.0.1" |
pankso@211 | 5 CATEGORY="x-window" |
pankso@36 | 6 SHORT_DESC="The Glade libs." |
pankso@36 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@36 | 8 DEPENDS="gtk+" |
pankso@36 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@36 | 10 WEB_SITE="http://www.jamesh.id.au/software/libglade/" |
pankso@36 | 11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/libglade/2.0/$TARBALL" |
pankso@36 | 12 |
pankso@36 | 13 # Rules to configure and make the package. |
pankso@36 | 14 compile_rules() |
pankso@36 | 15 { |
pankso@36 | 16 cd $src |
pankso@36 | 17 ./configure \ |
pankso@36 | 18 --prefix=/usr \ |
pankso@36 | 19 --infodir=/usr/share/info \ |
pankso@36 | 20 --mandir=/usr/share/man \ |
pankso@36 | 21 --with-html-dir=/usr/share/doc \ |
pankso@36 | 22 $CONFIGURE_ARGS |
pankso@36 | 23 make |
pankso@36 | 24 make DESTDIR=$PWD/_pkg install |
pankso@36 | 25 } |
pankso@36 | 26 |
pankso@36 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@36 | 28 genpkg_rules() |
pankso@36 | 29 { |
pankso@36 | 30 mkdir -p $fs/usr/lib |
pankso@36 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@36 | 32 |
pankso@36 | 33 cp -a $_pkg/usr/bin $fs/usr |
pankso@36 | 34 chmod +x $fs/usr/bin/* |
pankso@36 | 35 |
pankso@36 | 36 strip --strip-unneeded $fs/usr/lib/* |
pankso@36 | 37 } |
pankso@36 | 38 |