wok view inkscape/receipt @ rev 11970
Add: nmon 14g (thank Naitsirhc)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Mar 02 19:29:18 2012 +0100 (2012-03-02) |
parents | d0bb394a96d0 |
children | a783510d92d5 |
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 gnome-vfs"
11 BUILD_DEPENDS="gc-dev gtk+-dev libxslt-dev libsigc++-dev glibmm-dev \
12 gtkmm-dev atkmm-dev popt-dev libgiomm-dev gsl gsl-dev lcms-dev gtkspell gtkspell-dev \
13 cairomm-dev libboost-dev libxml2-dev zlib-dev autoconf pkg-config intltool \
14 xorg-libXau-dev xorg-libXdmcp-dev"
15 TARBALL="$PACKAGE-$VERSION.tar.bz2"
16 WEB_SITE="http://www.inkscape.org/"
17 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
18 TAGS="image vector editor svg"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 sed -i -e '\|^packaging/autopackage/default\.apspec$|d' configure.ac
25 # InkBoard is now disabled by default, --enable-inkboard now exists
27 ./configure \
28 --prefix=/usr \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make $MAKEFLAGS &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share
39 cp -a $_pkg/usr/bin $fs/usr
41 # Copy all Inkscape files and remove tutorials (19,2 Mb) + misc files
42 cp -a $_pkg/usr/share/inkscape $fs/usr/share
43 rm -rf $fs/usr/share/inkscape/clipart
44 rm -rf $fs/usr/share/inkscape/tutorials
45 rm -rf $fs/usr/share/inkscape/examples
46 rm -rf $fs/usr/share/inkscape/screens/keys*
47 }