wok-6.x annotate gimp/receipt @ rev 4763
Up: All e17 library to the last snapshot (2009-12-02)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Jan 10 23:07:29 2010 +0100 (2010-01-10) |
parents | 01e3b44f7477 |
children | a2079769a769 |
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@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-libcurl \ |
erjo@1646 | 31 --without-alsa \ |
erjo@1646 | 32 --without-librsvg \ |
erjo@1646 | 33 --without-dbus \ |
pankso@4245 | 34 --without-hal \ |
pankso@4245 | 35 --without-webkit \ |
jozee@2769 | 36 $CONFIGURE_ARGS && |
pascal@1491 | 37 make && |
pankso@43 | 38 make DESTDIR=$PWD/_pkg install |
pankso@43 | 39 } |
pankso@43 | 40 |
pankso@43 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@43 | 42 genpkg_rules() |
pankso@43 | 43 { |
pankso@4260 | 44 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps |
pankso@3955 | 45 |
pankso@43 | 46 cp -a $_pkg/etc $fs |
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 |
pankso@4260 | 51 cp $_pkg/usr/share/icons/hicolor/24x24/apps/gimp.png \ |
pankso@4260 | 52 $fs/usr/share/pixmaps/gimp.png |
pankso@3955 | 53 |
pankso@4260 | 54 # The gimp-console goes in a separate package |
pankso@4260 | 55 rm $fs/usr/bin/gimp-console* |
pankso@4260 | 56 |
pankso@4260 | 57 # Most plug-ins goes in a separate package |
pankso@4260 | 58 rm -rf $fs/usr/lib/gimp/2.0/plug-ins/* |
pankso@4260 | 59 for i in file-jpeg file-png pixelize screenshot |
pankso@4260 | 60 do |
pankso@4260 | 61 cp $_pkg/usr/lib/gimp/2.0/plug-ins/$i $fs/usr/lib/gimp/2.0/plug-ins |
pankso@4260 | 62 done |
pankso@4260 | 63 |
pankso@4260 | 64 # Strip plug-ins and remove devel files |
pankso@4245 | 65 strip -s $fs/usr/lib/gimp/*/plug-ins/* |
pankso@4260 | 66 rm $fs/usr/lib/gimp/*/modules/*.*a |
pankso@3955 | 67 |
pankso@43 | 68 # Put a nice splash with a spider |
pankso@43 | 69 cp -a stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images/ |
pankso@43 | 70 } |