wok-current annotate inkscape/receipt @ rev 11292
gnutls: Fixed $TARBALL.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Nov 11 07:18:37 2011 +0000 (2011-11-11) |
parents | 84aca0f42f07 |
children | 8e4c74abdf74 |
rev | line source |
---|---|
pankso@148 | 1 # SliTaz package receipt. |
pankso@148 | 2 |
pankso@148 | 3 PACKAGE="inkscape" |
slaxemulator@11006 | 4 VERSION="0.48.2" |
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 \ |
slaxemulator@7109 | 11 gtkmm-dev atkmm-dev popt-dev libgiomm-dev gsl gsl-dev lcms-dev gtkspell gtkspell-dev \ |
slaxemulator@7109 | 12 cairomm-dev libboost-dev libxml2-dev zlib-dev autoconf pkg-config intltool" |
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 |
pankso@148 | 25 ./configure \ |
pankso@148 | 26 --prefix=/usr \ |
pankso@148 | 27 --mandir=/usr/share/man \ |
pascal@1538 | 28 $CONFIGURE_ARGS && |
slaxemulator@7109 | 29 make -j 4 && |
slaxemulator@11006 | 30 make DESTDIR=$DESTDIR install |
pankso@148 | 31 } |
pankso@148 | 32 |
pankso@148 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@148 | 34 genpkg_rules() |
pankso@148 | 35 { |
pankso@2577 | 36 mkdir -p $fs/usr/share |
pankso@148 | 37 cp -a $_pkg/usr/bin $fs/usr |
pankso@2577 | 38 |
pankso@2577 | 39 # Copy all Inkscape files and remove tutorials (19,2 Mb) + misc files |
pankso@148 | 40 cp -a $_pkg/usr/share/inkscape $fs/usr/share |
pankso@2577 | 41 rm -rf $fs/usr/share/inkscape/clipart |
pankso@148 | 42 rm -rf $fs/usr/share/inkscape/tutorials |
pankso@148 | 43 rm -rf $fs/usr/share/inkscape/examples |
pankso@2577 | 44 rm -rf $fs/usr/share/inkscape/screens/keys* |
pankso@148 | 45 } |