wok annotate inkscape/receipt @ rev 15897
Up tazinst-gui (3.95)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Wed Feb 12 23:00:12 2014 +0100 (2014-02-12) |
parents | 21ad69bbbfa5 |
children | 79ec1d5b20e4 |
rev | line source |
---|---|
pankso@148 | 1 # SliTaz package receipt. |
pankso@148 | 2 |
pankso@148 | 3 PACKAGE="inkscape" |
slaxemulator@12992 | 4 VERSION="0.48.3.1" |
pankso@207 | 5 CATEGORY="graphics" |
pankso@148 | 6 SHORT_DESC="Vector drawing application." |
pankso@148 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
pascal@15002 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@15002 | 10 WEB_SITE="http://www.inkscape.org/" |
pascal@15002 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15002 | 12 TAGS="image vector editor svg" |
pascal@15002 | 13 |
pankso@2577 | 14 DEPENDS="gc gtk+ libxslt libsigc++ glibmm gtkmm libxml2 libpng popt \ |
slaxemulator@12992 | 15 xorg-libXdamage gsl aspell libgiomm lcms gtkspell libgomp poppler gcc-lib-base" |
pankso@4248 | 16 BUILD_DEPENDS="gc-dev gtk+-dev libxslt-dev libsigc++-dev glibmm-dev \ |
slaxemulator@7109 | 17 gtkmm-dev atkmm-dev popt-dev libgiomm-dev gsl gsl-dev lcms-dev gtkspell gtkspell-dev \ |
pascal@11668 | 18 cairomm-dev libboost-dev libxml2-dev zlib-dev autoconf pkg-config intltool \ |
pascal@12983 | 19 xorg-libXau-dev xorg-libXdmcp-dev automake libtool" |
pankso@148 | 20 |
pankso@148 | 21 # Rules to configure and make the package. |
pankso@148 | 22 compile_rules() |
pankso@148 | 23 { |
pankso@148 | 24 cd $src |
pascal@13138 | 25 find src -name '*.h' -o -name '*.c*' | xargs \ |
pascal@13138 | 26 sed -i 's|glibmm/i18n|glib/gi18n|' |
pankso@3847 | 27 sed -i -e '\|^packaging/autopackage/default\.apspec$|d' configure.ac |
ben@5757 | 28 # InkBoard is now disabled by default, --enable-inkboard now exists |
erjo@5894 | 29 |
pankso@148 | 30 ./configure \ |
pankso@148 | 31 --prefix=/usr \ |
pankso@148 | 32 --mandir=/usr/share/man \ |
pascal@1538 | 33 $CONFIGURE_ARGS && |
gokhlayeh@11574 | 34 make $MAKEFLAGS && |
slaxemulator@11006 | 35 make DESTDIR=$DESTDIR install |
pankso@148 | 36 } |
pankso@148 | 37 |
pankso@148 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@148 | 39 genpkg_rules() |
pankso@148 | 40 { |
pankso@2577 | 41 mkdir -p $fs/usr/share |
slaxemulator@12992 | 42 cp -a $install/usr/bin $fs/usr |
pankso@2577 | 43 |
pankso@2577 | 44 # Copy all Inkscape files and remove tutorials (19,2 Mb) + misc files |
slaxemulator@12992 | 45 cp -a $install/usr/share/inkscape $fs/usr/share |
pankso@2577 | 46 rm -rf $fs/usr/share/inkscape/clipart |
pankso@148 | 47 rm -rf $fs/usr/share/inkscape/tutorials |
pankso@148 | 48 rm -rf $fs/usr/share/inkscape/examples |
pankso@2577 | 49 rm -rf $fs/usr/share/inkscape/screens/keys* |
pankso@148 | 50 } |