wok-current annotate gimp/receipt @ rev 15589

Add some license
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 02 17:47:06 2013 +0000 (2013-12-02)
parents 2b9f96603415
children fe624a1aa8a9
rev   line source
pankso@43 1 # SliTaz package receipt.
pankso@43 2
pankso@43 3 PACKAGE="gimp"
devl547@13805 4 VERSION="2.8.2"
pankso@207 5 CATEGORY="graphics"
pankso@43 6 SHORT_DESC="Gnu Image Manipulation Program or GIMP!"
pankso@43 7 MAINTAINER="pankso@slitaz.org"
pascal@15201 8 LICENSE="GPL3"
pankso@549 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@43 10 WEB_SITE="http://www.gimp.org/"
pankso@12740 11 WGET_URL="ftp://ftp.gimp.org/pub/gimp/v2.8/$TARBALL"
pankso@12740 12 SUGGESTED="gimp-plug-ins gimp-brushes gimp-console gimp-plugin-ufraw"
pankso@12740 13
pankso@12740 14 DEPENDS="libart_lgpl babl gegl libgio tiff xorg-libXdamage xorg-libXmu \
mojo@14518 15 xorg-libXt gdk-pixbuf gtk+ libexif"
pankso@12740 16 BUILD_DEPENDS="gettext perl-xml-parser babl-dev gegl-dev libgio-dev \
pankso@12740 17 intltool expat-dev zlib-dev libart_lgpl-dev lcms-dev xorg-dev-proto \
pankso@12740 18 gdk-pixbuf-dev gtk+-dev libexif-dev aalib-dev libmng-dev"
pankso@43 19
pankso@43 20 # Rules to configure and make the package.
pankso@43 21 compile_rules()
pankso@43 22 {
pankso@43 23 cd $src
pankso@43 24 ./configure \
pankso@4245 25 --prefix=/usr \
pankso@4245 26 --sysconfdir=/etc \
pankso@4245 27 --infodir=/usr/share/info \
pankso@4245 28 --mandir=/usr/share/man \
pankso@43 29 --with-html-dir=/usr/share/doc \
erjo@1646 30 --without-print \
pankso@549 31 --disable-python \
erjo@1646 32 --without-poppler \
erjo@1646 33 --without-libcurl \
erjo@1646 34 --without-alsa \
erjo@1646 35 --without-librsvg \
erjo@1646 36 --without-dbus \
pankso@4245 37 --without-webkit \
jozee@2769 38 $CONFIGURE_ARGS &&
pankso@12740 39 make $MAKEFLAGS && make 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@12740 47 cp -a $install/etc $fs
pankso@12740 48 cp -a $install/usr/bin $fs/usr
pankso@12740 49 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@12740 50 cp -a $install/usr/lib/gimp $fs/usr/lib
pankso@12740 51
pankso@12740 52 cp $install/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@12740 62 cp $install/usr/lib/gimp/2.0/plug-ins/$i \
pankso@12740 63 $fs/usr/lib/gimp/2.0/plug-ins
pankso@4260 64 done
pankso@4260 65
pankso@12740 66 # Include only Basic brushes --> gimp-brushes
pankso@12740 67 cp -a $install/usr/share/gimp $fs/usr/share
pankso@12740 68 for i in gimp-* Legacy Media Sketch Splatters Texture
pankso@12740 69 do
pankso@12740 70 rm -rf $fs/usr/share/gimp/2.0/brushes/$i
pankso@12740 71 done
pankso@12740 72
pankso@12740 73 # Remove devel files
pankso@12740 74 rm $fs/usr/lib/gimp/2.0/modules/*.*a
pankso@3955 75
pankso@43 76 # Put a nice splash with a spider
pankso@12740 77 cp -a $stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images
pankso@43 78 }