wok-6.x view inkscape/receipt @ rev 4967
Fix: amsn DEPENDS (Thanks davesurrey and Nik)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Feb 23 21:36:47 2010 +0100 (2010-02-23) |
parents | 5dc8da2666fb |
children | 8d3f3ded1725 |
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"
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 }