wok-current view inkscape/receipt @ rev 11240
Up: gcompris, goocanvas, pidgin
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun Nov 06 20:29:05 2011 +0000 (2011-11-06) |
parents | 84aca0f42f07 |
children | 8e4c74abdf74 |
line source
1 # SliTaz package receipt.
3 PACKAGE="inkscape"
4 VERSION="0.48.2"
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 atkmm-dev popt-dev libgiomm-dev gsl gsl-dev lcms-dev gtkspell gtkspell-dev \
12 cairomm-dev libboost-dev libxml2-dev zlib-dev autoconf pkg-config intltool"
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
25 ./configure \
26 --prefix=/usr \
27 --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 make -j 4 &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share
37 cp -a $_pkg/usr/bin $fs/usr
39 # Copy all Inkscape files and remove tutorials (19,2 Mb) + misc files
40 cp -a $_pkg/usr/share/inkscape $fs/usr/share
41 rm -rf $fs/usr/share/inkscape/clipart
42 rm -rf $fs/usr/share/inkscape/tutorials
43 rm -rf $fs/usr/share/inkscape/examples
44 rm -rf $fs/usr/share/inkscape/screens/keys*
45 }