wok-next annotate inkscape/receipt @ rev 5757

Up: inkscape (0.47 final)
author Ben Arnold <ben@seawolfsanctuary.com>
date Sun Jul 04 14:27:19 2010 +0100 (2010-07-04)
parents 8d3f3ded1725
children cc3202e6e7e3
rev   line source
pankso@148 1 # SliTaz package receipt.
pankso@148 2
pankso@148 3 PACKAGE="inkscape"
ben@5757 4 VERSION="0.47"
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 \
ben@5757 11 gtkmm-dev popt-dev libgiomm-dev gsl gsl-dev lcms-dev gtkspell-dev \
ben@5757 12 cairomm-dev libboost-dev"
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
pankso@148 24 ./configure \
pankso@148 25 --prefix=/usr \
pankso@148 26 --mandir=/usr/share/man \
pascal@1538 27 $CONFIGURE_ARGS &&
pascal@1538 28 make &&
pankso@148 29 make DESTDIR=$PWD/_pkg install
pankso@148 30 }
pankso@148 31
pankso@148 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@148 33 genpkg_rules()
pankso@148 34 {
pankso@2577 35 mkdir -p $fs/usr/share
pankso@148 36 cp -a $_pkg/usr/bin $fs/usr
pankso@2577 37
pankso@2577 38 # Copy all Inkscape files and remove tutorials (19,2 Mb) + misc files
pankso@148 39 cp -a $_pkg/usr/share/inkscape $fs/usr/share
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 }