wok-stable view gimp/receipt @ rev 2522
p*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 16 22:31:09 2009 +0000 (2009-03-16) |
parents | 987853b8719d |
children | 2e77327e848e |
line source
1 # SliTaz package receipt.
3 PACKAGE="gimp"
4 VERSION="2.6.3"
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"
9 BUILD_DEPENDS="gettext perl-xml-parser gtk+-dev libart_lgpl babl-dev gegl-dev libgio libgio-dev intltool"
10 DEPENDS="tiff webkit-r babl gegl xorg-libXdamage"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.gimp.org/"
13 WGET_URL="ftp://ftp.gimp.org/pub/gimp/v2.6/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man --sysconfdir=/etc \
22 --with-html-dir=/usr/share/doc \
23 --without-print \
24 --disable-python \
25 --without-gnomefs \
26 --without-poppler \
27 --without-gnomevfs \
28 --without-libcurl \
29 --without-alsa \
30 --without-librsvg \
31 --without-dbus \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$PWD/_pkg install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share/pixmaps $fs/usr/lib
42 cp -a $_pkg/etc $fs
43 cp $_pkg/usr/share/icons/hicolor/24x24/apps/gimp.png \
44 $fs/usr/share/pixmaps/gimp.png
46 cp -a $_pkg/usr/bin $fs/usr
47 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
48 cp -a $_pkg/usr/lib/gimp $fs/usr/lib
49 cp -a $_pkg/usr/share/gimp $fs/usr/share
50 # cp -a $_pkg/usr/share/mime-info $fs/usr/share
52 rm $fs/usr/lib/gimp/*/*/*.la
54 # Put a nice splash with a spider
55 cp -a stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images/
56 }