wok-stable view gimp/receipt @ rev 2772
Up: gimp (2.6.6)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 27 01:04:47 2009 +0200 (2009-04-27) |
parents | 2e77327e848e |
children | 583bdd691510 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gimp"
4 VERSION="2.6.6"
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"
9 BUILD_DEPENDS="gettext perl-xml-parser gtk+-dev libart_lgpl babl-dev \
10 gegl-dev libgio libgio-dev intltool expat-dev zlib-dev"
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
53 #strip plugins
54 strip --strip-unneeded $fs/usr/lib/gimp/*/plug-ins/*
57 # Put a nice splash with a spider
58 cp -a stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images/
59 }