wok view inkscape/receipt @ rev 4374
pyneighborhood: fix depends and desktop.file
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Oct 11 13:25:38 2009 +0000 (2009-10-11) |
parents | 860caab15e6b |
children | 5dc8da2666fb |
line source
1 # SliTaz package receipt.
3 PACKAGE="inkscape"
4 VERSION="0.47pre2"
5 CATEGORY="graphics"
6 SHORT_DESC="Vector drawing application."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gc gtk+ libxslt libsigc++ glibmm gtkmm libxml2 libpng popt \
9 xorg-libXdamage libgiomm lcms gtkspell"
10 BUILD_DEPENDS="gc-dev gtk+-dev libxslt-dev libsigc++-dev glibmm-dev \
11 gtkmm-dev popt-dev libgiomm-dev gsl gsl-dev lcms-dev gtkspell-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://www.inkscape.org/"
14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i -e '\|^packaging/autopackage/default\.apspec$|d' configure.ac
21 ./configure \
22 --prefix=/usr \
23 --mandir=/usr/share/man \
24 --disable-inkboard \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
34 cp -a $_pkg/usr/bin $fs/usr
36 # Copy all Inkscape files and remove tutorials (19,2 Mb) + misc files
37 cp -a $_pkg/usr/share/inkscape $fs/usr/share
38 rm -rf $fs/usr/share/inkscape/extensions
39 rm -rf $fs/usr/share/inkscape/clipart
40 rm -rf $fs/usr/share/inkscape/tutorials
41 rm -rf $fs/usr/share/inkscape/examples
42 rm -rf $fs/usr/share/inkscape/screens/keys*
43 }