wok-4.x annotate gimp/receipt @ rev 2643

Add arj
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 17 22:18:55 2009 +0200 (2009-04-17)
parents 987853b8719d
children 2e77327e848e
rev   line source
pankso@43 1 # SliTaz package receipt.
pankso@43 2
pankso@43 3 PACKAGE="gimp"
pankso@1763 4 VERSION="2.6.3"
pankso@207 5 CATEGORY="graphics"
pankso@43 6 SHORT_DESC="Gnu Image Manipulation Program or GIMP!"
pankso@43 7 MAINTAINER="pankso@slitaz.org"
erjo@1646 8 DEPENDS="gtk+ libart_lgpl babl gegl libgio"
pankso@1763 9 BUILD_DEPENDS="gettext perl-xml-parser gtk+-dev libart_lgpl babl-dev gegl-dev libgio libgio-dev intltool"
pascal@2516 10 DEPENDS="tiff webkit-r babl gegl xorg-libXdamage"
pankso@549 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@43 12 WEB_SITE="http://www.gimp.org/"
erjo@1646 13 WGET_URL="ftp://ftp.gimp.org/pub/gimp/v2.6/$TARBALL"
pankso@43 14
pankso@43 15 # Rules to configure and make the package.
pankso@43 16 compile_rules()
pankso@43 17 {
pankso@43 18 cd $src
pankso@43 19 ./configure \
pankso@43 20 --prefix=/usr --infodir=/usr/share/info \
pankso@43 21 --mandir=/usr/share/man --sysconfdir=/etc \
pankso@43 22 --with-html-dir=/usr/share/doc \
erjo@1646 23 --without-print \
pankso@549 24 --disable-python \
erjo@1646 25 --without-gnomefs \
erjo@1646 26 --without-poppler \
erjo@1646 27 --without-gnomevfs \
erjo@1646 28 --without-libcurl \
erjo@1646 29 --without-alsa \
erjo@1646 30 --without-librsvg \
erjo@1646 31 --without-dbus \
erjo@1646 32 $CONFIGURE_ARGS &&
pascal@1491 33 make &&
pankso@43 34 make DESTDIR=$PWD/_pkg install
pankso@43 35 }
pankso@43 36
pankso@43 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@43 38 genpkg_rules()
pankso@43 39 {
pankso@549 40 mkdir -p $fs/usr/share/pixmaps $fs/usr/lib
pankso@43 41
pankso@43 42 cp -a $_pkg/etc $fs
pankso@549 43 cp $_pkg/usr/share/icons/hicolor/24x24/apps/gimp.png \
pankso@549 44 $fs/usr/share/pixmaps/gimp.png
pankso@43 45
pankso@43 46 cp -a $_pkg/usr/bin $fs/usr
pankso@43 47 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@43 48 cp -a $_pkg/usr/lib/gimp $fs/usr/lib
pankso@43 49 cp -a $_pkg/usr/share/gimp $fs/usr/share
erjo@1646 50 # cp -a $_pkg/usr/share/mime-info $fs/usr/share
pankso@43 51
pankso@43 52 rm $fs/usr/lib/gimp/*/*/*.la
pankso@43 53
pankso@43 54 # Put a nice splash with a spider
pankso@43 55 cp -a stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images/
pankso@43 56 }
pankso@43 57