wok-6.x view gimp/receipt @ rev 1675

Add libgd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 08 13:58:58 2008 +0000 (2008-11-08)
parents 4c400bd09135
children 2f406a6d94db
line source
1 # SliTaz package receipt.
3 PACKAGE="gimp"
4 VERSION="2.6.1"
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"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.gimp.org/"
12 WGET_URL="ftp://ftp.gimp.org/pub/gimp/v2.6/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man --sysconfdir=/etc \
21 --with-html-dir=/usr/share/doc \
22 --without-print \
23 --disable-python \
24 --without-gnomefs \
25 --without-poppler \
26 --without-gnomevfs \
27 --without-libcurl \
28 --without-alsa \
29 --without-librsvg \
30 --without-dbus \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$PWD/_pkg install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share/pixmaps $fs/usr/lib
41 cp -a $_pkg/etc $fs
42 cp $_pkg/usr/share/icons/hicolor/24x24/apps/gimp.png \
43 $fs/usr/share/pixmaps/gimp.png
45 cp -a $_pkg/usr/bin $fs/usr
46 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
47 cp -a $_pkg/usr/lib/gimp $fs/usr/lib
48 cp -a $_pkg/usr/share/gimp $fs/usr/share
49 # cp -a $_pkg/usr/share/mime-info $fs/usr/share
51 rm $fs/usr/lib/gimp/*/*/*.la
53 # Put a nice splash with a spider
54 cp -a stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images/
55 }