wok-4.x diff gimp/receipt @ rev 115

Set BUILD_DEPENDS for cairo, glib, atk and gtk+
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jan 05 00:17:11 2008 +0100 (2008-01-05)
parents
children 4959e5789caa
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gimp/receipt	Sat Jan 05 00:17:11 2008 +0100
     1.3 @@ -0,0 +1,51 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gimp"
     1.7 +VERSION="2.2.17"
     1.8 +CATEGORY="extra"
     1.9 +SHORT_DESC="Gnu Image Manipulation Program or GIMP!"
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="gtk+ libart_lgpl"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.gimp.org/"
    1.14 +WGET_URL="ftp://ftp.gimp.org/pub/gimp/v2.2/$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 --infodir=/usr/share/info \
    1.22 +		--mandir=/usr/share/man --sysconfdir=/etc \
    1.23 +		--with-html-dir=/usr/share/doc \
    1.24 +		$CONFIGURE_ARGS \
    1.25 +		--disable-print
    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 $fs/usr/lib $fs/usr/share/locale $fs/usr/share/pixmaps
    1.34 +	
    1.35 +	cp -a $_pkg/etc $fs
    1.36 +	cp $src/data/images/wilber-icon.png $fs/usr/share/pixmaps/gimp.png
    1.37 +	
    1.38 +	cp -a $_pkg/usr/bin $fs/usr
    1.39 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.40 +	cp -a $_pkg/usr/lib/gimp $fs/usr/lib
    1.41 +	cp -a $_pkg/usr/share/gimp $fs/usr/share
    1.42 +	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    1.43 +	
    1.44 +	rm $fs/usr/lib/gimp/*/*/*.la
    1.45 +	strip --strip-unneeded $fs/usr/lib/*.so*
    1.46 +	strip --strip-unneeded $fs/usr/lib/gimp/*/modules/*.so
    1.47 +	strip -s $fs/usr/lib/gimp/*/plug-ins/*
    1.48 +	strip -s $fs/usr/bin/* 2>/dev/null
    1.49 +	
    1.50 +	# Put a nice splash with a spider
    1.51 +	cp -a stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images/
    1.52 +	
    1.53 +}
    1.54 +