wok-current view inkscape/receipt @ rev 12983

inkscape: include glib.h
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 02 15:37:17 2012 +0200 (2012-06-02)
parents 78e2522332f1
children f8817cc87b13
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 automake libtool"
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 find . -name '*.[ch]*' | xargs sed -i -e 's|glib/gtypes|glib|' \
25 -e 's|glib/glist|glib|' -e 's|glib/gslist|glib|' \
26 -e 's|glib/gstring|glib|' -e 's|glib/gmain|glib|'\
27 -e 's|glib/gmessages|glib|' -e 's|glib/ghash|glib|'
28 sed -i -e '\|^packaging/autopackage/default\.apspec$|d' configure.ac
29 # InkBoard is now disabled by default, --enable-inkboard now exists
31 ./configure \
32 --prefix=/usr \
33 --mandir=/usr/share/man \
34 $CONFIGURE_ARGS &&
35 make $MAKEFLAGS &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share
43 cp -a $_pkg/usr/bin $fs/usr
45 # Copy all Inkscape files and remove tutorials (19,2 Mb) + misc files
46 cp -a $_pkg/usr/share/inkscape $fs/usr/share
47 rm -rf $fs/usr/share/inkscape/clipart
48 rm -rf $fs/usr/share/inkscape/tutorials
49 rm -rf $fs/usr/share/inkscape/examples
50 rm -rf $fs/usr/share/inkscape/screens/keys*
51 }