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

updated xorg-xf86-video-neomagic (1.2.7 -> 1.3.0)
author Hans-G?nter Theisgen
date Wed Nov 13 11:28:41 2019 +0100 (2019-11-13)
parents 19aed4fcf18c
children 793ee168a093
line source
1 # SliTaz package receipt.
3 PACKAGE="inkscape"
4 VERSION="0.91"
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 WGET_URL="$WEB_SITE/en/gallery/item/3860/$TARBALL"
13 TAGS="image vector editor svg"
15 DEPENDS="gc gtk+ libxslt libsigc++ glibmm gtkmm libxml2 libpng popt \
16 xorg-libXdamage gsl aspell libgiomm lcms gtkspell libgomp poppler gcc-lib-base"
17 BUILD_DEPENDS="gc-dev gtk+-dev libxslt-dev libsigc++-dev glibmm-dev \
18 gtkmm-dev atkmm-dev popt-dev libgiomm-dev gsl gsl-dev lcms-dev gtkspell \
19 gtkspell-dev cairomm-dev libboost-dev libxml2-dev zlib-dev autoconf pkg-config \
20 intltool xorg-libXau-dev xorg-libXdmcp-dev automake libtool"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 for patchfile in $(cat $stuff/patches/series); do
26 patch -p1 -i $stuff/patches/$patchfile
27 done
29 # hack to define '_' and 'Q_' functions
30 for file in $(find $src/src -type f); do
31 sed -i 's|glibmm/i18n.h|glib/gi18n.h|g' $file
32 done
34 find . -name Makefile.in | xargs sed -i 's|@AUTOMAKE@|automake|'
35 ./configure \
36 --prefix=/usr \
37 --mandir=/usr/share/man \
38 $CONFIGURE_ARGS &&
39 make $MAKEFLAGS &&
40 make DESTDIR=$DESTDIR install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/share
47 cp -a $install/usr/bin $fs/usr
49 # Copy all Inkscape files and remove tutorials (19,2 Mb) + misc files
50 cp -a $install/usr/share/inkscape $fs/usr/share
51 rm -rf $fs/usr/share/inkscape/clipart
52 rm -rf $fs/usr/share/inkscape/tutorials
53 rm -rf $fs/usr/share/inkscape/examples
55 # Desktop file
56 cp -a $install/usr/share/applications $fs/usr/share
57 DESKTOP=$fs/usr/share/applications/inkscape.desktop
58 sed -i '/^Name/d; s|X-GNOME-Full||g' $DESKTOP
59 sdft $DESKTOP -g -tf -te -i
61 # Icons
62 cp -a $install/usr/share/icons $fs/usr/share
63 rm -rf $fs/usr/share/icons/hicolor/256x256
64 }