wok annotate inkscape/receipt @ rev 6323
Up: imagemagick, imagemagick-dev to 6.6.4-2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Sep 17 16:59:19 2010 +0000 (2010-09-17) |
parents | cf6a9a593ece |
children | 3fd80d62508c |
rev | line source |
---|---|
pankso@148 | 1 # SliTaz package receipt. |
pankso@148 | 2 |
pankso@148 | 3 PACKAGE="inkscape" |
ben@5757 | 4 VERSION="0.47" |
pankso@207 | 5 CATEGORY="graphics" |
pankso@148 | 6 SHORT_DESC="Vector drawing application." |
pankso@148 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@2577 | 8 DEPENDS="gc gtk+ libxslt libsigc++ glibmm gtkmm libxml2 libpng popt \ |
pascal@5002 | 9 xorg-libXdamage gsl aspell libgiomm lcms gtkspell libgomp poppler gcc-lib-base" |
pankso@4248 | 10 BUILD_DEPENDS="gc-dev gtk+-dev libxslt-dev libsigc++-dev glibmm-dev \ |
ben@5757 | 11 gtkmm-dev popt-dev libgiomm-dev gsl gsl-dev lcms-dev gtkspell-dev \ |
ben@5757 | 12 cairomm-dev libboost-dev" |
pankso@3847 | 13 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@148 | 14 WEB_SITE="http://www.inkscape.org/" |
pankso@148 | 15 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4938 | 16 TAGS="image vector editor svg" |
pankso@148 | 17 |
pankso@148 | 18 # Rules to configure and make the package. |
pankso@148 | 19 compile_rules() |
pankso@148 | 20 { |
pankso@148 | 21 cd $src |
pankso@3847 | 22 sed -i -e '\|^packaging/autopackage/default\.apspec$|d' configure.ac |
ben@5757 | 23 # InkBoard is now disabled by default, --enable-inkboard now exists |
erjo@5894 | 24 |
erjo@5894 | 25 # Fix build with gcc45 |
erjo@5894 | 26 # http://launchpadlibrarian.net/39366738/inkscape-0.47-gcc45.patch |
erjo@5894 | 27 patch -p1 < ../stuff/inkscape-0.47-gcc45.patch || exit 1 |
erjo@5894 | 28 |
pankso@148 | 29 ./configure \ |
pankso@148 | 30 --prefix=/usr \ |
pankso@148 | 31 --mandir=/usr/share/man \ |
pascal@1538 | 32 $CONFIGURE_ARGS && |
pascal@1538 | 33 make && |
pankso@148 | 34 make DESTDIR=$PWD/_pkg install |
pankso@148 | 35 } |
pankso@148 | 36 |
pankso@148 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@148 | 38 genpkg_rules() |
pankso@148 | 39 { |
pankso@2577 | 40 mkdir -p $fs/usr/share |
pankso@148 | 41 cp -a $_pkg/usr/bin $fs/usr |
pankso@2577 | 42 |
pankso@2577 | 43 # Copy all Inkscape files and remove tutorials (19,2 Mb) + misc files |
pankso@148 | 44 cp -a $_pkg/usr/share/inkscape $fs/usr/share |
pankso@2577 | 45 rm -rf $fs/usr/share/inkscape/clipart |
pankso@148 | 46 rm -rf $fs/usr/share/inkscape/tutorials |
pankso@148 | 47 rm -rf $fs/usr/share/inkscape/examples |
pankso@2577 | 48 rm -rf $fs/usr/share/inkscape/screens/keys* |
pankso@148 | 49 } |