wok-current annotate inkscape/receipt @ rev 9084

Up: openshot to 1.3.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Mar 04 12:05:18 2011 +0000 (2011-03-04)
parents 1a79ce82bee5
children 3f99dd900fa8
rev   line source
pankso@148 1 # SliTaz package receipt.
pankso@148 2
pankso@148 3 PACKAGE="inkscape"
slaxemulator@8235 4 VERSION="0.48.1"
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 \
slaxemulator@7109 11 gtkmm-dev atkmm-dev popt-dev libgiomm-dev gsl gsl-dev lcms-dev gtkspell gtkspell-dev \
slaxemulator@7109 12 cairomm-dev libboost-dev libxml2-dev zlib-dev autoconf pkg-config intltool"
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
erjo@5894 24
pankso@148 25 ./configure \
pankso@148 26 --prefix=/usr \
pankso@148 27 --mandir=/usr/share/man \
pascal@1538 28 $CONFIGURE_ARGS &&
slaxemulator@7109 29 make -j 4 &&
pankso@148 30 make DESTDIR=$PWD/_pkg install
pankso@148 31 }
pankso@148 32
pankso@148 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@148 34 genpkg_rules()
pankso@148 35 {
pankso@2577 36 mkdir -p $fs/usr/share
pankso@148 37 cp -a $_pkg/usr/bin $fs/usr
pankso@2577 38
pankso@2577 39 # Copy all Inkscape files and remove tutorials (19,2 Mb) + misc files
pankso@148 40 cp -a $_pkg/usr/share/inkscape $fs/usr/share
pankso@2577 41 rm -rf $fs/usr/share/inkscape/clipart
pankso@148 42 rm -rf $fs/usr/share/inkscape/tutorials
pankso@148 43 rm -rf $fs/usr/share/inkscape/examples
pankso@2577 44 rm -rf $fs/usr/share/inkscape/screens/keys*
pankso@148 45 }