wok-stable view gimp/receipt @ rev 607

Up: slitaz-base-files (2.0) - New daemons config, adduser.conf and more devices node
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 18 16:29:28 2008 +0200 (2008-04-18)
parents eb4e6a1af180
children f1ae4a1ce690
line source
1 # SliTaz package receipt.
3 PACKAGE="gimp"
4 VERSION="2.4.5"
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 }