wok view inkscape/receipt @ rev 17288

Up: wget (1.16), inkscape (0.48.5).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 28 09:55:47 2014 +0200 (2014-10-28)
parents 7896f0694ef6
children cce1951ed236
line source
1 # SliTaz package receipt.
3 PACKAGE="inkscape"
4 VERSION="0.48.5"
5 CATEGORY="graphics"
6 SHORT_DESC="vector-based drawing program"
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 \
18 gtkspell-dev cairomm-dev libboost-dev libxml2-dev zlib-dev autoconf pkg-config \
19 intltool xorg-libXau-dev xorg-libXdmcp-dev automake libtool"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 for patchfile in $(cat $stuff/patches/series); do
25 patch -p1 -i $stuff/patches/$patchfile
26 done
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
48 # Desktop file
49 cp -a $install/usr/share/applications $fs/usr/share
50 DESKTOP=$fs/usr/share/applications/inkscape.desktop
51 sed -i '/^Name/d; s|X-GNOME-Full||g' $DESKTOP
52 sdft $DESKTOP -g -tf -te -i
54 # Icons
55 cp -a $install/usr/share/icons $fs/usr/share
56 rm -rf $fs/usr/share/icons/hicolor/256x256
57 }