wok-4.x view inkscape/receipt @ rev 1384
udev-dev: also update version
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Sep 15 15:56:41 2008 +0200 (2008-09-15) |
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 }