wok view gimp/receipt @ rev 207

Full up category graphics
author Christophe Lincoln <pankso@slitaz.org>
date Wed Feb 13 14:33:01 2008 +0100 (2008-02-13)
parents 76785db15d2c
children eb4e6a1af180
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"
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 \
32 $fs/usr $fs/usr/lib \
33 $fs/usr/share/applications \
34 $fs/usr/share/locale \
35 $fs/usr/share/pixmaps
37 cp -a $_pkg/etc $fs
38 cp $src/data/images/wilber-icon.png $fs/usr/share/pixmaps/gimp.png
40 cp -a $_pkg/usr/bin $fs/usr
41 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
42 cp -a $_pkg/usr/lib/gimp $fs/usr/lib
43 cp -a $_pkg/usr/share/gimp $fs/usr/share
44 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
46 rm $fs/usr/lib/gimp/*/*/*.la
47 strip --strip-unneeded $fs/usr/lib/*.so*
48 strip --strip-unneeded $fs/usr/lib/gimp/*/modules/*.so
49 strip -s $fs/usr/lib/gimp/*/plug-ins/*
50 strip -s $fs/usr/bin/* 2>/dev/null
52 # Put a nice splash with a spider
53 cp -a stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images/
55 # Freedesktop entry
56 cp -a stuff/$PACKAGE.desktop $fs/usr/share/applications
57 }