wok-stable annotate inkscape/receipt @ rev 3873
add: virtualenv
author | Julien Rabier <taziden@slitaz.org> |
---|---|
date | Mon Aug 10 01:36:29 2009 +0000 (2009-08-10) |
parents | 519ee78a7bda |
children | dcdbb5d3a57c |
rev | line source |
---|---|
pankso@148 | 1 # SliTaz package receipt. |
pankso@148 | 2 |
pankso@148 | 3 PACKAGE="inkscape" |
pankso@3847 | 4 VERSION="0.47pre1" |
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 \ |
pankso@3847 | 9 xorg-libXdamage libgiomm lcms gtkspell" |
pankso@2577 | 10 BUILD_DEPENDS="gc-dev gtk+-dev libxslt-dev libsigc++-dev glibmm-dev gtkmm-dev \ |
pankso@3847 | 11 popt-dev libgiomm-dev gsl gsl-dev lcms-dev gtkspell-dev" |
pankso@3847 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@148 | 13 WEB_SITE="http://www.inkscape.org/" |
pankso@148 | 14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@148 | 15 |
pankso@148 | 16 # Rules to configure and make the package. |
pankso@148 | 17 compile_rules() |
pankso@148 | 18 { |
pankso@148 | 19 cd $src |
pankso@3847 | 20 sed -i -e '\|^packaging/autopackage/default\.apspec$|d' configure.ac |
pankso@148 | 21 ./configure \ |
pankso@148 | 22 --prefix=/usr \ |
pankso@148 | 23 --mandir=/usr/share/man \ |
pankso@2577 | 24 --disable-inkboard \ |
pascal@1538 | 25 $CONFIGURE_ARGS && |
pascal@1538 | 26 make && |
pankso@148 | 27 make DESTDIR=$PWD/_pkg install |
pankso@148 | 28 } |
pankso@148 | 29 |
pankso@148 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@148 | 31 genpkg_rules() |
pankso@148 | 32 { |
pankso@2577 | 33 mkdir -p $fs/usr/share |
pankso@148 | 34 cp -a $_pkg/usr/bin $fs/usr |
pankso@2577 | 35 |
pankso@2577 | 36 # Copy all Inkscape files and remove tutorials (19,2 Mb) + misc files |
pankso@148 | 37 cp -a $_pkg/usr/share/inkscape $fs/usr/share |
pankso@2577 | 38 rm -rf $fs/usr/share/inkscape/extensions |
pankso@2577 | 39 rm -rf $fs/usr/share/inkscape/clipart |
pankso@148 | 40 rm -rf $fs/usr/share/inkscape/tutorials |
pankso@148 | 41 rm -rf $fs/usr/share/inkscape/examples |
pankso@2577 | 42 rm -rf $fs/usr/share/inkscape/screens/keys* |
pankso@148 | 43 } |