wok annotate libgnomecanvas/receipt @ rev 37

Add : libgnome* (needed by Abiword)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Dec 18 14:10:13 2007 +0100 (2007-12-18)
parents
children 2e7632ae94b9
rev   line source
pankso@37 1 # SliTaz package receipt.
pankso@37 2
pankso@37 3 PACKAGE="libgnomecanvas"
pankso@37 4 VERSION="2.14.0"
pankso@37 5 CATEGORY="extra"
pankso@37 6 SHORT_DESC="GNOME canvas library"
pankso@37 7 MAINTAINER="pankso@slitaz.org"
pankso@37 8 DEPENDS="gtk+ libglade"
pankso@37 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@37 10 WEB_SITE="http://www.gnome.org/"
pankso@37 11 WGET_URL=" http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/2.14/$TARBALL"
pankso@37 12
pankso@37 13 # Rules to configure and make the package.
pankso@37 14 compile_rules()
pankso@37 15 {
pankso@37 16 cd $src
pankso@37 17 ./configure \
pankso@37 18 --prefix=/usr \
pankso@37 19 --infodir=/usr/share/info \
pankso@37 20 --mandir=/usr/share/man \
pankso@37 21 --with-html-dir=/usr/share/doc \
pankso@37 22 $CONFIGURE_ARGS
pankso@37 23 make
pankso@37 24 make DESTDIR=$PWD/_pkg install
pankso@37 25 }
pankso@37 26
pankso@37 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@37 28 genpkg_rules()
pankso@37 29 {
pankso@37 30 mkdir -p $fs/usr/lib $fs/usr/share/locale
pankso@37 31
pankso@37 32 # Copy shared libs
pankso@37 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@37 34 cp -a $_pkg/usr/lib/libglade $fs/usr/lib
pankso@37 35
pankso@37 36 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
pankso@37 37
pankso@37 38 # Remove static libs
pankso@37 39 rm $fs/usr/lib/libglade/*/*.*a
pankso@37 40
pankso@37 41 strip -s $fs/usr/lib/* 2>/dev/null
pankso@37 42 strip $fs/usr/lib/libglade/*/*.so
pankso@37 43 }
pankso@37 44