wok view inkscape/receipt @ rev 1237

pygtk-dev: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 11 12:46:57 2008 +0000 (2008-08-11)
parents eb4e6a1af180
children 91a81354feee
line source
1 # SliTaz package receipt.
3 PACKAGE="inkscape"
4 VERSION="0.45.1"
5 CATEGORY="graphics"
6 SHORT_DESC="Vector drawing application."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gc gtk+ libxslt libsigc++ glibmm gtkmm libxml2 libpng popt PyXML"
9 BUILD_DEPENDS="gc-dev gtk+-dev libxslt-dev libsigc++-dev glibmm-dev gtkmm-dev popt-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.inkscape.org/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --mandir=/usr/share/man \
21 --disable-lcms \
22 $CONFIGURE_ARGS
23 make
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/locale
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
33 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
35 # Copy all Inkscape files and remove tutorials (19,2 Mb),
36 # examples + screens
37 cp -a $_pkg/usr/share/inkscape $fs/usr/share
38 rm -rf $fs/usr/share/inkscape/tutorials
39 rm -rf $fs/usr/share/inkscape/examples
40 rm -rf $fs/usr/share/inkscape/screens/keys.de.svg
41 rm -rf $fs/usr/share/inkscape/screens/keys.sl.svg
43 strip -s $fs/usr/bin/* 2>/dev/null
44 }