wok-4.x view gimp/receipt @ rev 160
UP : sylpheed (2.4.8) + add sylpheed.desktop
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Jan 28 19:25:17 2008 +0100 (2008-01-28) |
parents | 0403ebaf4af0 |
children | 76785db15d2c |
line source
1 # SliTaz package receipt.
3 PACKAGE="gimp"
4 VERSION="2.2.17"
5 CATEGORY="extra"
6 SHORT_DESC="Gnu Image Manipulation Program or GIMP!"
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libart_lgpl"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gimp.org/"
11 WGET_URL="ftp://ftp.gimp.org/pub/gimp/v2.2/$TARBALL"
12 JWM_MENU='Graphics:<Program icon="gimp.png" label="Gimp">gimp</Program>'
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 $CONFIGURE_ARGS \
23 --disable-print
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 $fs/usr/lib $fs/usr/share/locale $fs/usr/share/pixmaps
33 cp -a $_pkg/etc $fs
34 cp $src/data/images/wilber-icon.png $fs/usr/share/pixmaps/gimp.png
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
38 cp -a $_pkg/usr/lib/gimp $fs/usr/lib
39 cp -a $_pkg/usr/share/gimp $fs/usr/share
40 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
42 rm $fs/usr/lib/gimp/*/*/*.la
43 strip --strip-unneeded $fs/usr/lib/*.so*
44 strip --strip-unneeded $fs/usr/lib/gimp/*/modules/*.so
45 strip -s $fs/usr/lib/gimp/*/plug-ins/*
46 strip -s $fs/usr/bin/* 2>/dev/null
48 # Put a nice splash with a spider
49 cp -a stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images/
51 }