wok-4.x view gimp/receipt @ rev 151
Add : Midnight Commander, sudo.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Jan 26 00:27:46 2008 +0100 (2008-01-26) |
parents | |
children | 4959e5789caa |
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"
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 $fs/usr $fs/usr/lib $fs/usr/share/locale $fs/usr/share/pixmaps
32 cp -a $_pkg/etc $fs
33 cp $src/data/images/wilber-icon.png $fs/usr/share/pixmaps/gimp.png
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 cp -a $_pkg/usr/lib/gimp $fs/usr/lib
38 cp -a $_pkg/usr/share/gimp $fs/usr/share
39 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
41 rm $fs/usr/lib/gimp/*/*/*.la
42 strip --strip-unneeded $fs/usr/lib/*.so*
43 strip --strip-unneeded $fs/usr/lib/gimp/*/modules/*.so
44 strip -s $fs/usr/lib/gimp/*/plug-ins/*
45 strip -s $fs/usr/bin/* 2>/dev/null
47 # Put a nice splash with a spider
48 cp -a stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images/
50 }