wok-current view inkscape/receipt @ rev 3267
alsa-utils: Add chinese name and comment to alsamixer.desktop
author | Chen Yufei <tsjz@ymail.com> |
---|---|
date | Tue Jun 02 12:29:46 2009 +0800 (2009-06-02) |
parents | be4b9618ea05 |
children | 860caab15e6b |
line source
1 # SliTaz package receipt.
3 PACKAGE="inkscape"
4 VERSION="0.45.1"
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"
10 BUILD_DEPENDS="gc-dev gtk+-dev libxslt-dev libsigc++-dev glibmm-dev gtkmm-dev \
11 popt-dev libgiomm-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
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 grep -rl glib/gmessages . | while read file; do
21 echo "Patching $file..."
22 sed -i 's|glib/gmessages|glib|' $file
23 done
24 # gtk-clist fix
25 sed -i s/gtkclist.h/gtk.h/ src/widgets/sp-xmlview-attr-list.h
26 ./configure \
27 --prefix=/usr \
28 --mandir=/usr/share/man \
29 --disable-lcms \
30 --disable-inkboard \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$PWD/_pkg install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share
40 cp -a $_pkg/usr/bin $fs/usr
42 # Copy all Inkscape files and remove tutorials (19,2 Mb) + misc files
43 cp -a $_pkg/usr/share/inkscape $fs/usr/share
44 rm -rf $fs/usr/share/inkscape/extensions
45 rm -rf $fs/usr/share/inkscape/clipart
46 rm -rf $fs/usr/share/inkscape/tutorials
47 rm -rf $fs/usr/share/inkscape/examples
48 rm -rf $fs/usr/share/inkscape/screens/keys*
49 }