wok-current view gimp/receipt @ rev 4245

gimp: make package smaller for graphics flavors (--without-webkit)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Sep 24 22:51:39 2009 +0200 (2009-09-24)
parents ad920ce27bf4
children 01e3b44f7477
line source
1 # SliTaz package receipt.
3 PACKAGE="gimp"
4 VERSION="2.6.7"
5 CATEGORY="graphics"
6 SHORT_DESC="Gnu Image Manipulation Program or GIMP!"
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libart_lgpl babl gegl libgio tiff xorg-libXdamage"
9 SUGGESTED="libexif libxslt"
10 BUILD_DEPENDS="$DEPENDS gettext perl-xml-parser gtk+-dev babl-dev \
11 gegl-dev libgio-dev intltool expat-dev zlib-dev libart_lgpl-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://www.gimp.org/"
14 WGET_URL="ftp://ftp.gimp.org/pub/gimp/v2.6/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 --with-html-dir=/usr/share/doc \
26 --without-print \
27 --disable-python \
28 --without-gnomefs \
29 --without-poppler \
30 --without-gnomevfs \
31 --without-libcurl \
32 --without-alsa \
33 --without-librsvg \
34 --without-dbus \
35 --without-hal \
36 --without-webkit \
37 $CONFIGURE_ARGS &&
38 make &&
39 make DESTDIR=$PWD/_pkg install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/share/pixmaps $fs/usr/lib
47 cp -a $_pkg/etc $fs
48 cp $_pkg/usr/share/icons/hicolor/24x24/apps/gimp.png \
49 $fs/usr/share/pixmaps/gimp.png
51 cp -a $_pkg/usr/bin $fs/usr
52 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
53 cp -a $_pkg/usr/lib/gimp $fs/usr/lib
54 cp -a $_pkg/usr/share/gimp $fs/usr/share
55 # cp -a $_pkg/usr/share/mime-info $fs/usr/share
57 rm $fs/usr/lib/gimp/*/*/*.la
58 #strip plugins
59 strip -s $fs/usr/lib/gimp/*/plug-ins/*
61 # Put a nice splash with a spider
62 cp -a stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images/
63 }