wok-current annotate inkscape/receipt @ rev 11594
dropbear/sshx: background
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 13 10:58:50 2012 +0100 (2012-01-13) |
parents | 3f99dd900fa8 |
children | d0bb394a96d0 |
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 && |
gokhlayeh@11574 | 29 make $MAKEFLAGS && |
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 } |