wok annotate gimp/receipt @ rev 4246
poppler: fix *DEPENDS and split qt4 libs (add poppler-qt4)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Sep 24 23:04:14 2009 +0200 (2009-09-24) |
parents | ad920ce27bf4 |
children | 01e3b44f7477 |
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@4245 | 9 SUGGESTED="libexif libxslt" |
pankso@4245 | 10 BUILD_DEPENDS="$DEPENDS gettext perl-xml-parser gtk+-dev babl-dev \ |
pankso@4245 | 11 gegl-dev libgio-dev intltool expat-dev zlib-dev libart_lgpl-dev" |
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@4245 | 21 --prefix=/usr \ |
pankso@4245 | 22 --sysconfdir=/etc \ |
pankso@4245 | 23 --infodir=/usr/share/info \ |
pankso@4245 | 24 --mandir=/usr/share/man \ |
pankso@43 | 25 --with-html-dir=/usr/share/doc \ |
erjo@1646 | 26 --without-print \ |
pankso@549 | 27 --disable-python \ |
erjo@1646 | 28 --without-gnomefs \ |
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@549 | 45 mkdir -p $fs/usr/share/pixmaps $fs/usr/lib |
pankso@3955 | 46 |
pankso@43 | 47 cp -a $_pkg/etc $fs |
pankso@549 | 48 cp $_pkg/usr/share/icons/hicolor/24x24/apps/gimp.png \ |
pankso@549 | 49 $fs/usr/share/pixmaps/gimp.png |
pankso@3955 | 50 |
pankso@43 | 51 cp -a $_pkg/usr/bin $fs/usr |
pankso@43 | 52 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@43 | 53 cp -a $_pkg/usr/lib/gimp $fs/usr/lib |
pankso@43 | 54 cp -a $_pkg/usr/share/gimp $fs/usr/share |
erjo@1646 | 55 # cp -a $_pkg/usr/share/mime-info $fs/usr/share |
pankso@3955 | 56 |
pankso@43 | 57 rm $fs/usr/lib/gimp/*/*/*.la |
jozee@2769 | 58 #strip plugins |
pankso@4245 | 59 strip -s $fs/usr/lib/gimp/*/plug-ins/* |
pankso@3955 | 60 |
pankso@43 | 61 # Put a nice splash with a spider |
pankso@43 | 62 cp -a stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images/ |
pankso@43 | 63 } |
pankso@43 | 64 |