wok-next diff inkscape/receipt @ rev 3065
Up: glib (2.20.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 13 22:42:12 2009 +0200 (2009-05-13) |
parents | be4b9618ea05 |
children | 860caab15e6b |
line diff
1.1 --- a/inkscape/receipt Mon Mar 16 22:05:40 2009 +0000 1.2 +++ b/inkscape/receipt Wed May 13 22:42:12 2009 +0200 1.3 @@ -5,9 +5,10 @@ 1.4 CATEGORY="graphics" 1.5 SHORT_DESC="Vector drawing application." 1.6 MAINTAINER="pankso@slitaz.org" 1.7 -DEPENDS="gc gtk+ libxslt libsigc++ glibmm gtkmm libxml2 libpng popt PyXML \ 1.8 -xorg-libXdamage" 1.9 -BUILD_DEPENDS="gc-dev gtk+-dev libxslt-dev libsigc++-dev glibmm-dev gtkmm-dev popt-dev" 1.10 +DEPENDS="gc gtk+ libxslt libsigc++ glibmm gtkmm libxml2 libpng popt \ 1.11 +xorg-libXdamage libgiomm" 1.12 +BUILD_DEPENDS="gc-dev gtk+-dev libxslt-dev libsigc++-dev glibmm-dev gtkmm-dev \ 1.13 +popt-dev libgiomm-dev" 1.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 WEB_SITE="http://www.inkscape.org/" 1.16 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.17 @@ -20,10 +21,13 @@ 1.18 echo "Patching $file..." 1.19 sed -i 's|glib/gmessages|glib|' $file 1.20 done 1.21 + # gtk-clist fix 1.22 + sed -i s/gtkclist.h/gtk.h/ src/widgets/sp-xmlview-attr-list.h 1.23 ./configure \ 1.24 --prefix=/usr \ 1.25 --mandir=/usr/share/man \ 1.26 --disable-lcms \ 1.27 + --disable-inkboard \ 1.28 $CONFIGURE_ARGS && 1.29 make && 1.30 make DESTDIR=$PWD/_pkg install 1.31 @@ -32,19 +36,15 @@ 1.32 # Rules to gen a SliTaz package suitable for Tazpkg. 1.33 genpkg_rules() 1.34 { 1.35 - mkdir -p $fs/usr/share/locale 1.36 + mkdir -p $fs/usr/share 1.37 cp -a $_pkg/usr/bin $fs/usr 1.38 - cp -a $_pkg/usr/share/pixmaps $fs/usr/share 1.39 - cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale 1.40 - 1.41 - # Copy all Inkscape files and remove tutorials (19,2 Mb), 1.42 - # examples + screens 1.43 + 1.44 + # Copy all Inkscape files and remove tutorials (19,2 Mb) + misc files 1.45 cp -a $_pkg/usr/share/inkscape $fs/usr/share 1.46 + rm -rf $fs/usr/share/inkscape/extensions 1.47 + rm -rf $fs/usr/share/inkscape/clipart 1.48 rm -rf $fs/usr/share/inkscape/tutorials 1.49 rm -rf $fs/usr/share/inkscape/examples 1.50 - rm -rf $fs/usr/share/inkscape/screens/keys.de.svg 1.51 - rm -rf $fs/usr/share/inkscape/screens/keys.sl.svg 1.52 - 1.53 - strip -s $fs/usr/bin/* 2>/dev/null 1.54 + rm -rf $fs/usr/share/inkscape/screens/keys* 1.55 } 1.56