wok-6.x view gimp/receipt @ rev 4602

Add nvidia (proprietary drivers and lib)
author Rohit Joshi <jozee@slitaz.org>
date Mon Dec 14 15:51:46 2009 +0000 (2009-12-14)
parents 11f3de21a6f4
children e4dd6b9319ea
line source
1 # SliTaz package receipt.
3 PACKAGE="gimp"
4 VERSION="2.6.7"
5 CATEGORY="graphics"
6 SHORT_DESC="Gnu Image Manipulation Program or GIMP!"
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libart_lgpl babl gegl libgio tiff xorg-libXdamage"
9 SUGGESTED="gimp-plug-ins gimp-console"
10 BUILD_DEPENDS="$DEPENDS gettext perl-xml-parser gtk+-dev babl-dev \
11 gegl-dev libgio-dev intltool expat-dev zlib-dev libart_lgpl-dev lcms \
12 lcms-dev"
13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
14 WEB_SITE="http://www.gimp.org/"
15 WGET_URL="ftp://ftp.gimp.org/pub/gimp/v2.6/$TARBALL"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 --with-html-dir=/usr/share/doc \
27 --without-print \
28 --disable-python \
29 --without-poppler \
30 --without-gnomevfs \
31 --without-libcurl \
32 --without-alsa \
33 --without-librsvg \
34 --without-dbus \
35 --without-hal \
36 --without-webkit \
37 $CONFIGURE_ARGS &&
38 make &&
39 make DESTDIR=$PWD/_pkg install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
47 cp -a $_pkg/etc $fs
48 cp -a $_pkg/usr/bin $fs/usr
49 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
50 cp -a $_pkg/usr/lib/gimp $fs/usr/lib
51 cp -a $_pkg/usr/share/gimp $fs/usr/share
52 cp $_pkg/usr/share/icons/hicolor/24x24/apps/gimp.png \
53 $fs/usr/share/pixmaps/gimp.png
55 # The gimp-console goes in a separate package
56 rm $fs/usr/bin/gimp-console*
58 # Most plug-ins goes in a separate package
59 rm -rf $fs/usr/lib/gimp/2.0/plug-ins/*
60 for i in file-jpeg file-png pixelize screenshot
61 do
62 cp $_pkg/usr/lib/gimp/2.0/plug-ins/$i $fs/usr/lib/gimp/2.0/plug-ins
63 done
65 # Strip plug-ins and remove devel files
66 strip -s $fs/usr/lib/gimp/*/plug-ins/*
67 rm $fs/usr/lib/gimp/*/modules/*.*a
69 # Put a nice splash with a spider
70 cp -a stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images/
71 }