wok-6.x annotate inkscape/receipt @ rev 11841

perl-http-date: Sync with wok-tank.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Feb 27 01:11:13 2012 -0500 (2012-02-27)
parents d0bb394a96d0
children a783510d92d5
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@11669 9 xorg-libXdamage gsl aspell libgiomm lcms gtkspell libgomp poppler gcc-lib-base \
pascal@11669 10 gnome-vfs"
pankso@4248 11 BUILD_DEPENDS="gc-dev gtk+-dev libxslt-dev libsigc++-dev glibmm-dev \
slaxemulator@7109 12 gtkmm-dev atkmm-dev popt-dev libgiomm-dev gsl gsl-dev lcms-dev gtkspell gtkspell-dev \
pascal@11668 13 cairomm-dev libboost-dev libxml2-dev zlib-dev autoconf pkg-config intltool \
pascal@11668 14 xorg-libXau-dev xorg-libXdmcp-dev"
pankso@3847 15 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@148 16 WEB_SITE="http://www.inkscape.org/"
pankso@148 17 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@4938 18 TAGS="image vector editor svg"
pankso@148 19
pankso@148 20 # Rules to configure and make the package.
pankso@148 21 compile_rules()
pankso@148 22 {
pankso@148 23 cd $src
pankso@3847 24 sed -i -e '\|^packaging/autopackage/default\.apspec$|d' configure.ac
ben@5757 25 # InkBoard is now disabled by default, --enable-inkboard now exists
erjo@5894 26
pankso@148 27 ./configure \
pankso@148 28 --prefix=/usr \
pankso@148 29 --mandir=/usr/share/man \
pascal@1538 30 $CONFIGURE_ARGS &&
gokhlayeh@11574 31 make $MAKEFLAGS &&
slaxemulator@11006 32 make DESTDIR=$DESTDIR install
pankso@148 33 }
pankso@148 34
pankso@148 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@148 36 genpkg_rules()
pankso@148 37 {
pankso@2577 38 mkdir -p $fs/usr/share
pankso@148 39 cp -a $_pkg/usr/bin $fs/usr
pankso@2577 40
pankso@2577 41 # Copy all Inkscape files and remove tutorials (19,2 Mb) + misc files
pankso@148 42 cp -a $_pkg/usr/share/inkscape $fs/usr/share
pankso@2577 43 rm -rf $fs/usr/share/inkscape/clipart
pankso@148 44 rm -rf $fs/usr/share/inkscape/tutorials
pankso@148 45 rm -rf $fs/usr/share/inkscape/examples
pankso@2577 46 rm -rf $fs/usr/share/inkscape/screens/keys*
pankso@148 47 }