wok view gimp/receipt @ rev 10806
Add libnetfilter_queue-dev
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 04 18:02:17 2011 +0200 (2011-06-04) |
parents | fcaa62b434c4 |
children | 8e4c74abdf74 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gimp"
4 VERSION="2.6.11"
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 xorg-libXmu xorg-libXt"
10 SUGGESTED="gimp-plug-ins gimp-console"
11 BUILD_DEPENDS="$DEPENDS gettext perl-xml-parser gtk+-dev babl-dev \
12 gegl-dev libgio-dev intltool expat-dev zlib-dev libart_lgpl-dev lcms \
13 lcms-dev xorg-dev-proto"
14 TARBALL="$PACKAGE-$VERSION.tar.bz2"
15 WEB_SITE="http://www.gimp.org/"
16 WGET_URL="ftp://ftp.gimp.org/pub/gimp/v2.6/$TARBALL"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --sysconfdir=/etc \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 --with-html-dir=/usr/share/doc \
28 --without-print \
29 --disable-python \
30 --without-poppler \
31 --without-libcurl \
32 --without-alsa \
33 --without-librsvg \
34 --without-dbus \
35 --without-hal \
36 --without-webkit \
37 $CONFIGURE_ARGS &&
38 make -j 4 &&
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/lib $fs/usr/share/pixmaps
47 cp -a $_pkg/etc $fs
48 cp -a $_pkg/usr/bin $fs/usr
49 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
50 cp -a $_pkg/usr/lib/gimp $fs/usr/lib
51 cp -a $_pkg/usr/share/gimp $fs/usr/share
52 cp $_pkg/usr/share/icons/hicolor/24x24/apps/gimp.png \
53 $fs/usr/share/pixmaps/gimp.png
55 # The gimp-console goes in a separate package
56 rm $fs/usr/bin/gimp-console*
58 # Most plug-ins goes in a separate package
59 rm -rf $fs/usr/lib/gimp/2.0/plug-ins/*
60 for i in file-jpeg file-png pixelize screenshot
61 do
62 cp $_pkg/usr/lib/gimp/2.0/plug-ins/$i $fs/usr/lib/gimp/2.0/plug-ins
63 done
65 # Strip plug-ins and remove devel files
66 strip -s $fs/usr/lib/gimp/*/plug-ins/*
67 rm $fs/usr/lib/gimp/*/modules/*.*a
69 # Put a nice splash with a spider
70 cp -a stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images/
71 }