wok annotate gimp/receipt @ rev 3959

Up: pidgin (2.6.1)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Aug 26 00:56:29 2009 +0200 (2009-08-26)
parents 2fb3adc92829
children ad920ce27bf4
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"
pascal@2860 9 SUGGESTED="libcurl libexif libxslt icu webkit-r"
pankso@2772 10 BUILD_DEPENDS="gettext perl-xml-parser gtk+-dev libart_lgpl babl-dev \
pascal@3138 11 gegl-dev libgio libgio-dev intltool expat-dev zlib-dev lcms"
pankso@549 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@43 13 WEB_SITE="http://www.gimp.org/"
erjo@1646 14 WGET_URL="ftp://ftp.gimp.org/pub/gimp/v2.6/$TARBALL"
pankso@43 15
pankso@43 16 # Rules to configure and make the package.
pankso@43 17 compile_rules()
pankso@43 18 {
pankso@43 19 cd $src
pankso@43 20 ./configure \
pankso@43 21 --prefix=/usr --infodir=/usr/share/info \
pankso@43 22 --mandir=/usr/share/man --sysconfdir=/etc \
pankso@43 23 --with-html-dir=/usr/share/doc \
erjo@1646 24 --without-print \
pankso@549 25 --disable-python \
erjo@1646 26 --without-gnomefs \
erjo@1646 27 --without-poppler \
erjo@1646 28 --without-gnomevfs \
erjo@1646 29 --without-libcurl \
erjo@1646 30 --without-alsa \
erjo@1646 31 --without-librsvg \
erjo@1646 32 --without-dbus \
jozee@2769 33 $CONFIGURE_ARGS &&
pascal@1491 34 make &&
pankso@43 35 make DESTDIR=$PWD/_pkg install
pankso@43 36 }
pankso@43 37
pankso@43 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@43 39 genpkg_rules()
pankso@43 40 {
pankso@549 41 mkdir -p $fs/usr/share/pixmaps $fs/usr/lib
pankso@3955 42
pankso@43 43 cp -a $_pkg/etc $fs
pankso@549 44 cp $_pkg/usr/share/icons/hicolor/24x24/apps/gimp.png \
pankso@549 45 $fs/usr/share/pixmaps/gimp.png
pankso@3955 46
pankso@43 47 cp -a $_pkg/usr/bin $fs/usr
pankso@43 48 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@43 49 cp -a $_pkg/usr/lib/gimp $fs/usr/lib
pankso@43 50 cp -a $_pkg/usr/share/gimp $fs/usr/share
erjo@1646 51 # cp -a $_pkg/usr/share/mime-info $fs/usr/share
pankso@3955 52
pankso@43 53 rm $fs/usr/lib/gimp/*/*/*.la
jozee@2769 54 #strip plugins
jozee@2769 55 strip --strip-unneeded $fs/usr/lib/gimp/*/plug-ins/*
pankso@3955 56
pankso@43 57 # Put a nice splash with a spider
pankso@43 58 cp -a stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images/
pankso@43 59 }
pankso@43 60