wok-6.x annotate inkscape/receipt @ rev 4872
thunar-archive-plugin: Fix libexecdir.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Feb 04 23:11:21 2010 +0100 (2010-02-04) |
parents | dcdbb5d3a57c |
children | faa4c6e9600b |
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 \ |
allan316@4496 | 9 xorg-libXdamage gsl aspell libgiomm lcms gtkspell" |
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" |
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 } |