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

linux-libre: fix check_modules.sh
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 14 10:38:19 2013 +0100 (2013-03-14)
parents f8817cc87b13
children 7896f0694ef6
line source
1 # SliTaz package receipt.
3 PACKAGE="inkscape"
4 VERSION="0.48.3.1"
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 xorg-libXau-dev xorg-libXdmcp-dev automake libtool"
14 TARBALL="$PACKAGE-$VERSION.tar.bz2"
15 WEB_SITE="http://www.inkscape.org/"
16 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
17 TAGS="image vector editor svg"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 find src -name '*.h' -o -name '*.c*' | xargs \
24 sed -i 's|glibmm/i18n|glib/gi18n|'
25 sed -i -e '\|^packaging/autopackage/default\.apspec$|d' configure.ac
26 # InkBoard is now disabled by default, --enable-inkboard now exists
28 ./configure \
29 --prefix=/usr \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make $MAKEFLAGS &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share
40 cp -a $install/usr/bin $fs/usr
42 # Copy all Inkscape files and remove tutorials (19,2 Mb) + misc files
43 cp -a $install/usr/share/inkscape $fs/usr/share
44 rm -rf $fs/usr/share/inkscape/clipart
45 rm -rf $fs/usr/share/inkscape/tutorials
46 rm -rf $fs/usr/share/inkscape/examples
47 rm -rf $fs/usr/share/inkscape/screens/keys*
48 }