wok diff 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
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libgnomecanvas/receipt	Tue Dec 18 14:10:13 2007 +0100
     1.3 @@ -0,0 +1,44 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libgnomecanvas"
     1.7 +VERSION="2.14.0"
     1.8 +CATEGORY="extra"
     1.9 +SHORT_DESC="GNOME canvas library"
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="gtk+ libglade"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 +WEB_SITE="http://www.gnome.org/"
    1.14 +WGET_URL=" http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/2.14/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src
    1.20 +	./configure \
    1.21 +		--prefix=/usr \
    1.22 +		--infodir=/usr/share/info \
    1.23 +		--mandir=/usr/share/man \
    1.24 +		--with-html-dir=/usr/share/doc \
    1.25 +		$CONFIGURE_ARGS
    1.26 +	make
    1.27 +	make DESTDIR=$PWD/_pkg install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr/lib $fs/usr/share/locale
    1.34 +	
    1.35 +	# Copy shared libs
    1.36 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.37 +	cp -a $_pkg/usr/lib/libglade $fs/usr/lib
    1.38 +	
    1.39 +	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    1.40 +	
    1.41 +	# Remove static libs
    1.42 +	rm $fs/usr/lib/libglade/*/*.*a
    1.43 +
    1.44 +	strip -s $fs/usr/lib/* 2>/dev/null
    1.45 +	strip $fs/usr/lib/libglade/*/*.so
    1.46 +}
    1.47 +