wok view gimp/receipt @ rev 13805

Up: gimp (2.8.2)
author Alexander Medvedev <devl547@gmail.com>
date Sun Jan 06 05:37:33 2013 +0300 (2013-01-06)
parents cb6c3a7328e7
children dc87133e6b53
line source
1 # SliTaz package receipt.
3 PACKAGE="gimp"
4 VERSION="2.8.2"
5 CATEGORY="graphics"
6 SHORT_DESC="Gnu Image Manipulation Program or GIMP!"
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.gimp.org/"
10 WGET_URL="ftp://ftp.gimp.org/pub/gimp/v2.8/$TARBALL"
11 SUGGESTED="gimp-plug-ins gimp-brushes gimp-console gimp-plugin-ufraw"
13 DEPENDS="libart_lgpl babl gegl libgio tiff xorg-libXdamage xorg-libXmu \
14 xorg-libXt gdk-pixbuf gtk+ "
15 BUILD_DEPENDS="gettext perl-xml-parser babl-dev gegl-dev libgio-dev \
16 intltool expat-dev zlib-dev libart_lgpl-dev lcms-dev xorg-dev-proto \
17 gdk-pixbuf-dev gtk+-dev libexif-dev aalib-dev libmng-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --prefix=/usr \
25 --sysconfdir=/etc \
26 --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 --with-html-dir=/usr/share/doc \
29 --without-print \
30 --disable-python \
31 --without-poppler \
32 --without-libcurl \
33 --without-alsa \
34 --without-librsvg \
35 --without-dbus \
36 --without-webkit \
37 $CONFIGURE_ARGS &&
38 make $MAKEFLAGS && make 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 $install/etc $fs
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 cp -a $install/usr/lib/gimp $fs/usr/lib
51 cp $install/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 $install/usr/lib/gimp/2.0/plug-ins/$i \
62 $fs/usr/lib/gimp/2.0/plug-ins
63 done
65 # Include only Basic brushes --> gimp-brushes
66 cp -a $install/usr/share/gimp $fs/usr/share
67 for i in gimp-* Legacy Media Sketch Splatters Texture
68 do
69 rm -rf $fs/usr/share/gimp/2.0/brushes/$i
70 done
72 # Remove devel files
73 rm $fs/usr/lib/gimp/2.0/modules/*.*a
75 # Put a nice splash with a spider
76 cp -a $stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images
77 }