wok annotate inkscape/receipt @ rev 13429

partclone: add btrfs & hfsplus support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 04 11:53:21 2012 +0200 (2012-10-04)
parents f8817cc87b13
children 7896f0694ef6
rev   line source
pankso@148 1 # SliTaz package receipt.
pankso@148 2
pankso@148 3 PACKAGE="inkscape"
slaxemulator@12992 4 VERSION="0.48.3.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 \
slaxemulator@12992 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 \
pascal@11668 12 cairomm-dev libboost-dev libxml2-dev zlib-dev autoconf pkg-config intltool \
pascal@12983 13 xorg-libXau-dev xorg-libXdmcp-dev automake libtool"
pankso@3847 14 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@148 15 WEB_SITE="http://www.inkscape.org/"
pankso@148 16 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@4938 17 TAGS="image vector editor svg"
pankso@148 18
pankso@148 19 # Rules to configure and make the package.
pankso@148 20 compile_rules()
pankso@148 21 {
pankso@148 22 cd $src
pascal@13138 23 find src -name '*.h' -o -name '*.c*' | xargs \
pascal@13138 24 sed -i 's|glibmm/i18n|glib/gi18n|'
pankso@3847 25 sed -i -e '\|^packaging/autopackage/default\.apspec$|d' configure.ac
ben@5757 26 # InkBoard is now disabled by default, --enable-inkboard now exists
erjo@5894 27
pankso@148 28 ./configure \
pankso@148 29 --prefix=/usr \
pankso@148 30 --mandir=/usr/share/man \
pascal@1538 31 $CONFIGURE_ARGS &&
gokhlayeh@11574 32 make $MAKEFLAGS &&
slaxemulator@11006 33 make DESTDIR=$DESTDIR install
pankso@148 34 }
pankso@148 35
pankso@148 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@148 37 genpkg_rules()
pankso@148 38 {
pankso@2577 39 mkdir -p $fs/usr/share
slaxemulator@12992 40 cp -a $install/usr/bin $fs/usr
pankso@2577 41
pankso@2577 42 # Copy all Inkscape files and remove tutorials (19,2 Mb) + misc files
slaxemulator@12992 43 cp -a $install/usr/share/inkscape $fs/usr/share
pankso@2577 44 rm -rf $fs/usr/share/inkscape/clipart
pankso@148 45 rm -rf $fs/usr/share/inkscape/tutorials
pankso@148 46 rm -rf $fs/usr/share/inkscape/examples
pankso@2577 47 rm -rf $fs/usr/share/inkscape/screens/keys*
pankso@148 48 }