wok-6.x view gimp/receipt @ rev 420
remove JWM_MENU
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 13 10:38:19 2008 +0000 (2008-03-13) |
parents | e4712a15e9ca |
children | 7fb0fb9a8485 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gimp"
4 VERSION="2.2.17"
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.gz"
10 WEB_SITE="http://www.gimp.org/"
11 WGET_URL="ftp://ftp.gimp.org/pub/gimp/v2.2/$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 $CONFIGURE_ARGS \
22 --disable-print
23 make
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p \
31 $fs/usr $fs/usr/lib \
32 $fs/usr/share/applications \
33 $fs/usr/share/locale \
34 $fs/usr/share/pixmaps
36 cp -a $_pkg/etc $fs
37 cp $src/data/images/wilber-icon.png $fs/usr/share/pixmaps/gimp.png
39 cp -a $_pkg/usr/bin $fs/usr
40 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
41 cp -a $_pkg/usr/lib/gimp $fs/usr/lib
42 cp -a $_pkg/usr/share/gimp $fs/usr/share
43 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
45 rm $fs/usr/lib/gimp/*/*/*.la
46 strip --strip-unneeded $fs/usr/lib/*.so*
47 strip --strip-unneeded $fs/usr/lib/gimp/*/modules/*.so
48 strip -s $fs/usr/lib/gimp/*/plug-ins/*
49 strip -s $fs/usr/bin/* 2>/dev/null
51 # Put a nice splash with a spider
52 cp -a stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images/
54 # Freedesktop entry
55 cp -a stuff/$PACKAGE.desktop $fs/usr/share/applications
56 }