wok view gimp/receipt @ rev 15201

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 07 18:25:02 2013 +0000 (2013-09-07)
parents 2b9f96603415
children fe624a1aa8a9
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 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.gimp.org/"
11 WGET_URL="ftp://ftp.gimp.org/pub/gimp/v2.8/$TARBALL"
12 SUGGESTED="gimp-plug-ins gimp-brushes gimp-console gimp-plugin-ufraw"
14 DEPENDS="libart_lgpl babl gegl libgio tiff xorg-libXdamage xorg-libXmu \
15 xorg-libXt gdk-pixbuf gtk+ libexif"
16 BUILD_DEPENDS="gettext perl-xml-parser babl-dev gegl-dev libgio-dev \
17 intltool expat-dev zlib-dev libart_lgpl-dev lcms-dev xorg-dev-proto \
18 gdk-pixbuf-dev gtk+-dev libexif-dev aalib-dev libmng-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 ./configure \
25 --prefix=/usr \
26 --sysconfdir=/etc \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 --with-html-dir=/usr/share/doc \
30 --without-print \
31 --disable-python \
32 --without-poppler \
33 --without-libcurl \
34 --without-alsa \
35 --without-librsvg \
36 --without-dbus \
37 --without-webkit \
38 $CONFIGURE_ARGS &&
39 make $MAKEFLAGS && make 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 $install/etc $fs
48 cp -a $install/usr/bin $fs/usr
49 cp -a $install/usr/lib/*.so* $fs/usr/lib
50 cp -a $install/usr/lib/gimp $fs/usr/lib
52 cp $install/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 $install/usr/lib/gimp/2.0/plug-ins/$i \
63 $fs/usr/lib/gimp/2.0/plug-ins
64 done
66 # Include only Basic brushes --> gimp-brushes
67 cp -a $install/usr/share/gimp $fs/usr/share
68 for i in gimp-* Legacy Media Sketch Splatters Texture
69 do
70 rm -rf $fs/usr/share/gimp/2.0/brushes/$i
71 done
73 # Remove devel files
74 rm $fs/usr/lib/gimp/2.0/modules/*.*a
76 # Put a nice splash with a spider
77 cp -a $stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images
78 }