wok annotate libglade/receipt @ rev 5744
audacity: Fix BUILD_DEPENDS
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Jun 27 11:06:04 2010 +0200 (2010-06-27) |
parents | dd8bb4875d43 |
children | e5b2f931007b |
rev | line source |
---|---|
pankso@36 | 1 # SliTaz package receipt. |
pankso@36 | 2 |
pankso@36 | 3 PACKAGE="libglade" |
pankso@290 | 4 VERSION="2.6.2" |
pankso@211 | 5 CATEGORY="x-window" |
pankso@36 | 6 SHORT_DESC="The Glade libs." |
pankso@36 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2518 | 8 DEPENDS="gtk+ xorg-libXdamage" |
pascal@1481 | 9 BUILD_DEPENDS="gtk+ gtk+-dev pkg-config libxml2 glib atk" |
pankso@36 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@36 | 11 WEB_SITE="http://www.jamesh.id.au/software/libglade/" |
pankso@290 | 12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/libglade/2.6/$TARBALL" |
pankso@36 | 13 |
pankso@36 | 14 # Rules to configure and make the package. |
pankso@36 | 15 compile_rules() |
pankso@36 | 16 { |
pankso@36 | 17 cd $src |
pankso@36 | 18 ./configure \ |
pankso@36 | 19 --prefix=/usr \ |
pankso@36 | 20 --infodir=/usr/share/info \ |
pankso@36 | 21 --mandir=/usr/share/man \ |
pankso@36 | 22 --with-html-dir=/usr/share/doc \ |
pascal@1481 | 23 $CONFIGURE_ARGS && |
pascal@1481 | 24 make && |
pankso@36 | 25 make DESTDIR=$PWD/_pkg install |
pankso@36 | 26 } |
pankso@36 | 27 |
pankso@36 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@36 | 29 genpkg_rules() |
pankso@36 | 30 { |
pankso@36 | 31 mkdir -p $fs/usr/lib |
pankso@36 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@36 | 33 |
pankso@36 | 34 cp -a $_pkg/usr/bin $fs/usr |
pankso@36 | 35 chmod +x $fs/usr/bin/* |
pankso@36 | 36 |
pankso@36 | 37 strip --strip-unneeded $fs/usr/lib/* |
pankso@36 | 38 } |
pankso@36 | 39 |