wok-6.x annotate gimp/receipt @ rev 5057

enable tac in busybox
author Rohit Joshi <jozee@slitaz.org>
date Mon Mar 08 13:52:48 2010 +0000 (2010-03-08)
parents a2079769a769
children e4319b0b765a
rev   line source
pankso@43 1 # SliTaz package receipt.
pankso@43 2
pankso@43 3 PACKAGE="gimp"
pankso@4683 4 VERSION="2.6.8"
pankso@207 5 CATEGORY="graphics"
pankso@43 6 SHORT_DESC="Gnu Image Manipulation Program or GIMP!"
pankso@43 7 MAINTAINER="pankso@slitaz.org"
pascal@5001 8 DEPENDS="gtk+ libart_lgpl babl gegl libgio tiff xorg-libXdamage libexif \
pascal@5001 9 xorg-libXmu xorg-libXt"
pankso@4260 10 SUGGESTED="gimp-plug-ins gimp-console"
pankso@4245 11 BUILD_DEPENDS="$DEPENDS gettext perl-xml-parser gtk+-dev babl-dev \
pankso@4260 12 gegl-dev libgio-dev intltool expat-dev zlib-dev libart_lgpl-dev lcms \
pankso@4260 13 lcms-dev"
pankso@549 14 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@43 15 WEB_SITE="http://www.gimp.org/"
erjo@1646 16 WGET_URL="ftp://ftp.gimp.org/pub/gimp/v2.6/$TARBALL"
pankso@43 17
pankso@43 18 # Rules to configure and make the package.
pankso@43 19 compile_rules()
pankso@43 20 {
pankso@43 21 cd $src
pankso@43 22 ./configure \
pankso@4245 23 --prefix=/usr \
pankso@4245 24 --sysconfdir=/etc \
pankso@4245 25 --infodir=/usr/share/info \
pankso@4245 26 --mandir=/usr/share/man \
pankso@43 27 --with-html-dir=/usr/share/doc \
erjo@1646 28 --without-print \
pankso@549 29 --disable-python \
erjo@1646 30 --without-poppler \
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 }