wok-4.x rev 148

Add : inkscape - Vector drawing application
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jan 25 10:48:34 2008 +0100 (2008-01-25)
parents 5e8be83697d9
children 384257552ba2
files inkscape/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/inkscape/receipt	Fri Jan 25 10:48:34 2008 +0100
     1.3 @@ -0,0 +1,45 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="inkscape"
     1.7 +VERSION="0.45.1"
     1.8 +CATEGORY="extra"
     1.9 +SHORT_DESC="Vector drawing application."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="gc gtk+ libxslt libsigc++ glibmm gtkmm libxml2 libpng popt"
    1.12 +BUILD_DEPENDS="gc-dev gtk+-dev libxslt-dev libsigc++-dev glibmm-dev gtkmm-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://www.inkscape.org/"
    1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure \
    1.22 +		--prefix=/usr \
    1.23 +		--mandir=/usr/share/man \
    1.24 +		--disable-lcms \
    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/share/locale
    1.34 +	cp -a $_pkg/usr/bin $fs/usr
    1.35 +	cp -a $_pkg/usr/share/pixmaps $fs/usr/share
    1.36 +	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    1.37 +	
    1.38 +	# Copy all Inkscape files and remove tutorials (19,2 Mb), 
    1.39 +	# examples + screens
    1.40 +	cp -a $_pkg/usr/share/inkscape $fs/usr/share
    1.41 +	rm -rf $fs/usr/share/inkscape/tutorials
    1.42 +	rm -rf $fs/usr/share/inkscape/examples
    1.43 +	rm -rf $fs/usr/share/inkscape/screens/keys.de.svg
    1.44 +	rm -rf $fs/usr/share/inkscape/screens/keys.sl.svg
    1.45 +	
    1.46 +	strip -s $fs/usr/bin/* 2>/dev/null
    1.47 +}
    1.48 +