wok view gimp/receipt @ rev 4981

Up:skype; fix url; improve receipt for tmpdir and RAM size
author Rohit Joshi <jozee@slitaz.org>
date Wed Feb 24 17:21:48 2010 +0000 (2010-02-24)
parents e4dd6b9319ea
children 9f19aee613be
line source
1 # SliTaz package receipt.
3 PACKAGE="gimp"
4 VERSION="2.6.8"
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 libexif"
9 SUGGESTED="gimp-plug-ins gimp-console"
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 lcms \
12 lcms-dev"
13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
14 WEB_SITE="http://www.gimp.org/"
15 WGET_URL="ftp://ftp.gimp.org/pub/gimp/v2.6/$TARBALL"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 --with-html-dir=/usr/share/doc \
27 --without-print \
28 --disable-python \
29 --without-poppler \
30 --without-libcurl \
31 --without-alsa \
32 --without-librsvg \
33 --without-dbus \
34 --without-hal \
35 --without-webkit \
36 $CONFIGURE_ARGS &&
37 make &&
38 make DESTDIR=$PWD/_pkg install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
46 cp -a $_pkg/etc $fs
47 cp -a $_pkg/usr/bin $fs/usr
48 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
49 cp -a $_pkg/usr/lib/gimp $fs/usr/lib
50 cp -a $_pkg/usr/share/gimp $fs/usr/share
51 cp $_pkg/usr/share/icons/hicolor/24x24/apps/gimp.png \
52 $fs/usr/share/pixmaps/gimp.png
54 # The gimp-console goes in a separate package
55 rm $fs/usr/bin/gimp-console*
57 # Most plug-ins goes in a separate package
58 rm -rf $fs/usr/lib/gimp/2.0/plug-ins/*
59 for i in file-jpeg file-png pixelize screenshot
60 do
61 cp $_pkg/usr/lib/gimp/2.0/plug-ins/$i $fs/usr/lib/gimp/2.0/plug-ins
62 done
64 # Strip plug-ins and remove devel files
65 strip -s $fs/usr/lib/gimp/*/plug-ins/*
66 rm $fs/usr/lib/gimp/*/modules/*.*a
68 # Put a nice splash with a spider
69 cp -a stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images/
70 }