wok annotate inkscape/receipt @ rev 817

lxlauncher: typo in fr name
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 16 14:22:13 2008 +0200 (2008-05-16)
parents f808fda230ba
children b64b8906e6a7
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"
erjo@252 9 BUILD_DEPENDS="gc-dev gtk+-dev libxslt-dev libsigc++-dev glibmm-dev gtkmm-dev popt-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"
pankso@148 13
pankso@148 14 # Rules to configure and make the package.
pankso@148 15 compile_rules()
pankso@148 16 {
pankso@148 17 cd $src
pankso@148 18 ./configure \
pankso@148 19 --prefix=/usr \
pankso@148 20 --mandir=/usr/share/man \
pankso@148 21 --disable-lcms \
pankso@148 22 $CONFIGURE_ARGS
pankso@148 23 make
pankso@148 24 make DESTDIR=$PWD/_pkg install
pankso@148 25 }
pankso@148 26
pankso@148 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@148 28 genpkg_rules()
pankso@148 29 {
pankso@148 30 mkdir -p $fs/usr/share/locale
pankso@148 31 cp -a $_pkg/usr/bin $fs/usr
pankso@148 32 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
pankso@148 33 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
pankso@148 34
pankso@148 35 # Copy all Inkscape files and remove tutorials (19,2 Mb),
pankso@148 36 # examples + screens
pankso@148 37 cp -a $_pkg/usr/share/inkscape $fs/usr/share
pankso@148 38 rm -rf $fs/usr/share/inkscape/tutorials
pankso@148 39 rm -rf $fs/usr/share/inkscape/examples
pankso@148 40 rm -rf $fs/usr/share/inkscape/screens/keys.de.svg
pankso@148 41 rm -rf $fs/usr/share/inkscape/screens/keys.sl.svg
pankso@148 42
pankso@148 43 strip -s $fs/usr/bin/* 2>/dev/null
pankso@148 44 }
pankso@148 45