wok view gimp/receipt @ rev 12760

parcellite: add LDFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 12 11:58:09 2012 +0200 (2012-05-12)
parents 8e4c74abdf74
children 6c70085d1b49
line source
1 # SliTaz package receipt.
3 PACKAGE="gimp"
4 VERSION="2.8.0"
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 }