wok-next annotate inkscape/receipt @ rev 207

Full up category graphics
author Christophe Lincoln <pankso@slitaz.org>
date Wed Feb 13 14:33:01 2008 +0100 (2008-02-13)
parents 4959e5789caa
children f808fda230ba
rev   line source
pankso@148 1 # SliTaz package receipt.
pankso@148 2
pankso@148 3 PACKAGE="inkscape"
pankso@148 4 VERSION="0.45.1"
pankso@207 5 CATEGORY="graphics"
pankso@148 6 SHORT_DESC="Vector drawing application."
pankso@148 7 MAINTAINER="pankso@slitaz.org"
pankso@148 8 DEPENDS="gc gtk+ libxslt libsigc++ glibmm gtkmm libxml2 libpng popt"
pankso@148 9 BUILD_DEPENDS="gc-dev gtk+-dev libxslt-dev libsigc++-dev glibmm-dev gtkmm-dev"
pankso@148 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@148 11 WEB_SITE="http://www.inkscape.org/"
pankso@148 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@153 13 JWM_MENU='Graphics:<Program icon="inkscape.png" label="Inkscape">inkscape</Program>'
pankso@148 14
pankso@148 15 # Rules to configure and make the package.
pankso@148 16 compile_rules()
pankso@148 17 {
pankso@148 18 cd $src
pankso@148 19 ./configure \
pankso@148 20 --prefix=/usr \
pankso@148 21 --mandir=/usr/share/man \
pankso@148 22 --disable-lcms \
pankso@148 23 $CONFIGURE_ARGS
pankso@148 24 make
pankso@148 25 make DESTDIR=$PWD/_pkg install
pankso@148 26 }
pankso@148 27
pankso@148 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@148 29 genpkg_rules()
pankso@148 30 {
pankso@148 31 mkdir -p $fs/usr/share/locale
pankso@148 32 cp -a $_pkg/usr/bin $fs/usr
pankso@148 33 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
pankso@148 34 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
pankso@148 35
pankso@148 36 # Copy all Inkscape files and remove tutorials (19,2 Mb),
pankso@148 37 # examples + screens
pankso@148 38 cp -a $_pkg/usr/share/inkscape $fs/usr/share
pankso@148 39 rm -rf $fs/usr/share/inkscape/tutorials
pankso@148 40 rm -rf $fs/usr/share/inkscape/examples
pankso@148 41 rm -rf $fs/usr/share/inkscape/screens/keys.de.svg
pankso@148 42 rm -rf $fs/usr/share/inkscape/screens/keys.sl.svg
pankso@148 43
pankso@148 44 strip -s $fs/usr/bin/* 2>/dev/null
pankso@148 45 }
pankso@148 46