wok-stable annotate gimp/receipt @ rev 4287

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