wok-6.x view inkscape/receipt @ rev 22672
updated ecm and ecm-extras again (1.03 -> 1.06)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 17 14:46:11 2020 +0100 (2020-01-17) |
parents | 793ee168a093 |
children | bc1543f398f6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="inkscape"
4 VERSION="0.91"
5 CATEGORY="graphics"
6 TAGS="image vector editor svg"
7 SHORT_DESC="Vector-based drawing program."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://www.inkscape.org"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 WGET_URL="$WEB_SITE/en/gallery/item/3860/$TARBALL"
16 DEPENDS="aspell gc gcc-lib-base glibmm gsl gtk+ gtkmm gtkspell lcms
17 libgiomm libgomp libpng libsigc++ libxml2 libxslt poppler popt
18 xorg-libXdamage"
19 BUILD_DEPENDS="atkmm-dev autoconf automake cairomm-dev gc-dev glibmm-dev
20 gtk+-dev gtkmm-dev gsl-dev gtkspell-dev intltool lcms-dev
21 libboost-dev libgiomm-dev libsigc++-dev libtool libxml2-dev
22 libxslt-dev pkg-config poppler-dev popt-dev xorg-libXau-dev
23 xorg-libXdmcp-dev zlib-dev"
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 for patchfile in $(cat $stuff/patches/series); do
29 patch -p1 -i $stuff/patches/$patchfile
30 done
32 # hack to define '_' and 'Q_' functions
33 for file in $(find $src/src -type f); do
34 sed -i 's|glibmm/i18n.h|glib/gi18n.h|g' $file
35 done
37 find . -name Makefile.in | xargs sed -i 's|@AUTOMAKE@|automake|'
38 ./configure \
39 --prefix=/usr \
40 --mandir=/usr/share/man \
41 $CONFIGURE_ARGS &&
42 make $MAKEFLAGS &&
43 make DESTDIR=$DESTDIR install
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/usr/share
50 cp -a $install/usr/bin $fs/usr
52 # Copy all Inkscape files and remove tutorials (19,2 Mb) + misc files
53 cp -a $install/usr/share/inkscape $fs/usr/share
54 rm -rf $fs/usr/share/inkscape/clipart
55 rm -rf $fs/usr/share/inkscape/tutorials
56 rm -rf $fs/usr/share/inkscape/examples
58 # Desktop file
59 cp -a $install/usr/share/applications $fs/usr/share
60 DESKTOP=$fs/usr/share/applications/inkscape.desktop
61 sed -i '/^Name/d; s|X-GNOME-Full||g' $DESKTOP
62 sdft $DESKTOP -g -tf -te -i
64 # Icons
65 cp -a $install/usr/share/icons $fs/usr/share
66 rm -rf $fs/usr/share/icons/hicolor/256x256
67 }