wok-6.x view inkscape/receipt @ rev 5819

tazbb: add stable support (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 15 11:12:24 2010 +0200 (2010-07-15)
parents 8d3f3ded1725
children cc3202e6e7e3
line source
1 # SliTaz package receipt.
3 PACKAGE="inkscape"
4 VERSION="0.47"
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 cairomm-dev libboost-dev"
13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
14 WEB_SITE="http://www.inkscape.org/"
15 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
16 TAGS="image vector editor svg"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 sed -i -e '\|^packaging/autopackage/default\.apspec$|d' configure.ac
23 # InkBoard is now disabled by default, --enable-inkboard now exists
24 ./configure \
25 --prefix=/usr \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
36 cp -a $_pkg/usr/bin $fs/usr
38 # Copy all Inkscape files and remove tutorials (19,2 Mb) + misc files
39 cp -a $_pkg/usr/share/inkscape $fs/usr/share
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 }