wok-next view gimp/receipt @ rev 1571

Up slitaz-tools (2.7)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 15 13:51:00 2008 +0000 (2008-10-15)
parents f1ae4a1ce690
children 1ff78bf058ec
line source
1 # SliTaz package receipt.
3 PACKAGE="gimp"
4 VERSION="2.4.6"
5 CATEGORY="graphics"
6 SHORT_DESC="Gnu Image Manipulation Program or GIMP!"
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libart_lgpl"
9 BUILD_DEPENDS="gettext perl-xml-parser gtk+-dev libart_lgpl"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.gimp.org/"
12 WGET_URL="ftp://ftp.gimp.org/pub/gimp/v2.4/$TARBALL"
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 --disable-print \
23 --disable-python \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/pixmaps $fs/usr/lib
34 cp -a $_pkg/etc $fs
35 cp $_pkg/usr/share/icons/hicolor/24x24/apps/gimp.png \
36 $fs/usr/share/pixmaps/gimp.png
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
40 cp -a $_pkg/usr/lib/gimp $fs/usr/lib
41 cp -a $_pkg/usr/share/gimp $fs/usr/share
42 cp -a $_pkg/usr/share/mime-info $fs/usr/share
44 rm $fs/usr/lib/gimp/*/*/*.la
46 # Put a nice splash with a spider
47 cp -a stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images/
48 }