wok-next view gimp/receipt @ rev 1281
Add: libiconv
author | Dominique Corbex <domcox@users.sourceforge.net> |
---|---|
date | Mon Aug 18 22:19:43 2008 +0200 (2008-08-18) |
parents | 7fb0fb9a8485 |
children | 4c400bd09135 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gimp"
4 VERSION="2.4.6"
5 CATEGORY="graphics"
6 SHORT_DESC="Gnu Image Manipulation Program or GIMP!"
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libart_lgpl"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.gimp.org/"
11 WGET_URL="ftp://ftp.gimp.org/pub/gimp/v2.4/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man --sysconfdir=/etc \
20 --with-html-dir=/usr/share/doc \
21 --disable-print \
22 --disable-python \
23 $CONFIGURE_ARGS
24 make
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/pixmaps $fs/usr/lib
33 cp -a $_pkg/etc $fs
34 cp $_pkg/usr/share/icons/hicolor/24x24/apps/gimp.png \
35 $fs/usr/share/pixmaps/gimp.png
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
39 cp -a $_pkg/usr/lib/gimp $fs/usr/lib
40 cp -a $_pkg/usr/share/gimp $fs/usr/share
41 cp -a $_pkg/usr/share/mime-info $fs/usr/share
43 rm $fs/usr/lib/gimp/*/*/*.la
45 # Put a nice splash with a spider
46 cp -a stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images/
47 }