wok annotate inkscape/receipt @ rev 5277
lzma: add --version support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 16 10:18:15 2010 +0200 (2010-04-16) |
parents | faa4c6e9600b |
children | cf6a9a593ece |
rev | line source |
---|---|
pankso@148 | 1 # SliTaz package receipt. |
pankso@148 | 2 |
pankso@148 | 3 PACKAGE="inkscape" |
pankso@4248 | 4 VERSION="0.47pre2" |
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 \ |
pankso@4248 | 11 gtkmm-dev 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" |
jozee@4938 | 15 TAGS="image vector editor svg" |
pankso@148 | 16 |
pankso@148 | 17 # Rules to configure and make the package. |
pankso@148 | 18 compile_rules() |
pankso@148 | 19 { |
pankso@148 | 20 cd $src |
pankso@3847 | 21 sed -i -e '\|^packaging/autopackage/default\.apspec$|d' configure.ac |
pankso@148 | 22 ./configure \ |
pankso@148 | 23 --prefix=/usr \ |
pankso@148 | 24 --mandir=/usr/share/man \ |
pankso@2577 | 25 --disable-inkboard \ |
pascal@1538 | 26 $CONFIGURE_ARGS && |
pascal@1538 | 27 make && |
pankso@148 | 28 make DESTDIR=$PWD/_pkg install |
pankso@148 | 29 } |
pankso@148 | 30 |
pankso@148 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@148 | 32 genpkg_rules() |
pankso@148 | 33 { |
pankso@2577 | 34 mkdir -p $fs/usr/share |
pankso@148 | 35 cp -a $_pkg/usr/bin $fs/usr |
pankso@2577 | 36 |
pankso@2577 | 37 # Copy all Inkscape files and remove tutorials (19,2 Mb) + misc files |
pankso@148 | 38 cp -a $_pkg/usr/share/inkscape $fs/usr/share |
pankso@2577 | 39 rm -rf $fs/usr/share/inkscape/extensions |
pankso@2577 | 40 rm -rf $fs/usr/share/inkscape/clipart |
pankso@148 | 41 rm -rf $fs/usr/share/inkscape/tutorials |
pankso@148 | 42 rm -rf $fs/usr/share/inkscape/examples |
pankso@2577 | 43 rm -rf $fs/usr/share/inkscape/screens/keys* |
pankso@148 | 44 } |