wok view inkscape/receipt @ rev 5535

slitaz-loram-http: add tazlito/loram support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 12 14:10:24 2010 +0200 (2010-05-12)
parents faa4c6e9600b
children cf6a9a593ece
line source
1 # SliTaz package receipt.
3 PACKAGE="inkscape"
4 VERSION="0.47pre2"
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 xorg-libXdamage gsl aspell libgiomm lcms gtkspell libgomp poppler gcc-lib-base"
10 BUILD_DEPENDS="gc-dev gtk+-dev libxslt-dev libsigc++-dev glibmm-dev \
11 gtkmm-dev popt-dev libgiomm-dev gsl gsl-dev lcms-dev gtkspell-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://www.inkscape.org/"
14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 TAGS="image vector editor svg"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i -e '\|^packaging/autopackage/default\.apspec$|d' configure.ac
22 ./configure \
23 --prefix=/usr \
24 --mandir=/usr/share/man \
25 --disable-inkboard \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
35 cp -a $_pkg/usr/bin $fs/usr
37 # Copy all Inkscape files and remove tutorials (19,2 Mb) + misc files
38 cp -a $_pkg/usr/share/inkscape $fs/usr/share
39 rm -rf $fs/usr/share/inkscape/extensions
40 rm -rf $fs/usr/share/inkscape/clipart
41 rm -rf $fs/usr/share/inkscape/tutorials
42 rm -rf $fs/usr/share/inkscape/examples
43 rm -rf $fs/usr/share/inkscape/screens/keys*
44 }