wok view inkscape/receipt @ rev 207

Full up category graphics
author Christophe Lincoln <pankso@slitaz.org>
date Wed Feb 13 14:33:01 2008 +0100 (2008-02-13)
parents 4959e5789caa
children f808fda230ba
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"
9 BUILD_DEPENDS="gc-dev gtk+-dev libxslt-dev libsigc++-dev glibmm-dev gtkmm-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.inkscape.org/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 JWM_MENU='Graphics:<Program icon="inkscape.png" label="Inkscape">inkscape</Program>'
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
22 --disable-lcms \
23 $CONFIGURE_ARGS
24 make
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/locale
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
34 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
36 # Copy all Inkscape files and remove tutorials (19,2 Mb),
37 # examples + screens
38 cp -a $_pkg/usr/share/inkscape $fs/usr/share
39 rm -rf $fs/usr/share/inkscape/tutorials
40 rm -rf $fs/usr/share/inkscape/examples
41 rm -rf $fs/usr/share/inkscape/screens/keys.de.svg
42 rm -rf $fs/usr/share/inkscape/screens/keys.sl.svg
44 strip -s $fs/usr/bin/* 2>/dev/null
45 }