wok annotate libglade/receipt @ rev 943

xarchive: add misc fs support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 24 16:09:58 2008 +0000 (2008-06-24)
parents cf22fee17710
children dd8bb4875d43
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"
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@290 11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/libglade/2.6/$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