wok view inkscape/receipt @ rev 7518
Up: tazpkg to 4.1.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Dec 04 22:40:18 2010 +0000 (2010-12-04) |
parents | c0a5719491d2 |
children | 84aca0f42f07 |
line source
1 # SliTaz package receipt.
3 PACKAGE="inkscape"
4 VERSION="0.48.0"
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=$PWD/_pkg 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 }