wok view inkscape/receipt @ rev 16501

Up: tinycm (1.2)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 24 02:32:31 2014 +0200 (2014-04-24)
parents 21ad69bbbfa5
children 79ec1d5b20e4
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.inkscape.org/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="image vector editor svg"
14 DEPENDS="gc gtk+ libxslt libsigc++ glibmm gtkmm libxml2 libpng popt \
15 xorg-libXdamage gsl aspell libgiomm lcms gtkspell libgomp poppler gcc-lib-base"
16 BUILD_DEPENDS="gc-dev gtk+-dev libxslt-dev libsigc++-dev glibmm-dev \
17 gtkmm-dev atkmm-dev popt-dev libgiomm-dev gsl gsl-dev lcms-dev gtkspell gtkspell-dev \
18 cairomm-dev libboost-dev libxml2-dev zlib-dev autoconf pkg-config intltool \
19 xorg-libXau-dev xorg-libXdmcp-dev automake libtool"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 find src -name '*.h' -o -name '*.c*' | xargs \
26 sed -i 's|glibmm/i18n|glib/gi18n|'
27 sed -i -e '\|^packaging/autopackage/default\.apspec$|d' configure.ac
28 # InkBoard is now disabled by default, --enable-inkboard now exists
30 ./configure \
31 --prefix=/usr \
32 --mandir=/usr/share/man \
33 $CONFIGURE_ARGS &&
34 make $MAKEFLAGS &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share
42 cp -a $install/usr/bin $fs/usr
44 # Copy all Inkscape files and remove tutorials (19,2 Mb) + misc files
45 cp -a $install/usr/share/inkscape $fs/usr/share
46 rm -rf $fs/usr/share/inkscape/clipart
47 rm -rf $fs/usr/share/inkscape/tutorials
48 rm -rf $fs/usr/share/inkscape/examples
49 rm -rf $fs/usr/share/inkscape/screens/keys*
50 }