wok-next view gimp/receipt @ rev 3612
glibc: fix endless loop during build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 29 13:01:11 2009 +0200 (2009-06-29) |
parents | 10764785c368 |
children | 3e7af73c8dcb |
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 SUGGESTED="libcurl libexif libxslt icu webkit-r"
10 BUILD_DEPENDS="gettext perl-xml-parser gtk+-dev libart_lgpl babl-dev \
11 gegl-dev libgio libgio-dev intltool expat-dev zlib-dev lcms"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://www.gimp.org/"
14 WGET_URL="ftp://ftp.gimp.org/pub/gimp/v2.6/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr --infodir=/usr/share/info \
22 --mandir=/usr/share/man --sysconfdir=/etc \
23 --with-html-dir=/usr/share/doc \
24 --without-print \
25 --disable-python \
26 --without-gnomefs \
27 --without-poppler \
28 --without-gnomevfs \
29 --without-libcurl \
30 --without-alsa \
31 --without-librsvg \
32 --without-dbus \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$PWD/_pkg install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share/pixmaps $fs/usr/lib
43 cp -a $_pkg/etc $fs
44 cp $_pkg/usr/share/icons/hicolor/24x24/apps/gimp.png \
45 $fs/usr/share/pixmaps/gimp.png
47 cp -a $_pkg/usr/bin $fs/usr
48 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
49 cp -a $_pkg/usr/lib/gimp $fs/usr/lib
50 cp -a $_pkg/usr/share/gimp $fs/usr/share
51 # cp -a $_pkg/usr/share/mime-info $fs/usr/share
53 rm $fs/usr/lib/gimp/*/*/*.la
54 #strip plugins
55 strip --strip-unneeded $fs/usr/lib/gimp/*/plug-ins/*
58 # Put a nice splash with a spider
59 cp -a stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images/
60 }