wok view inkscape/receipt @ rev 390
Slitaz-loram-cdrom: decrease memory footprint a bit
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 09 13:00:33 2008 +0000 (2008-03-09) |
parents | e4712a15e9ca |
children | eb4e6a1af180 |
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 popt-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 }