wok-next annotate gimp/receipt @ rev 1585

php-ldap: depends on cyrus-sasl
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 16 09:34:26 2008 +0000 (2008-10-16)
parents f1ae4a1ce690
children 1ff78bf058ec
rev   line source
pankso@43 1 # SliTaz package receipt.
pankso@43 2
pankso@43 3 PACKAGE="gimp"
pankso@866 4 VERSION="2.4.6"
pankso@207 5 CATEGORY="graphics"
pankso@43 6 SHORT_DESC="Gnu Image Manipulation Program or GIMP!"
pankso@43 7 MAINTAINER="pankso@slitaz.org"
pankso@43 8 DEPENDS="gtk+ libart_lgpl"
pascal@1491 9 BUILD_DEPENDS="gettext perl-xml-parser gtk+-dev libart_lgpl"
pankso@549 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@43 11 WEB_SITE="http://www.gimp.org/"
pankso@549 12 WGET_URL="ftp://ftp.gimp.org/pub/gimp/v2.4/$TARBALL"
pankso@43 13
pankso@43 14 # Rules to configure and make the package.
pankso@43 15 compile_rules()
pankso@43 16 {
pankso@43 17 cd $src
pankso@43 18 ./configure \
pankso@43 19 --prefix=/usr --infodir=/usr/share/info \
pankso@43 20 --mandir=/usr/share/man --sysconfdir=/etc \
pankso@43 21 --with-html-dir=/usr/share/doc \
pankso@549 22 --disable-print \
pankso@549 23 --disable-python \
pascal@1491 24 $CONFIGURE_ARGS &&
pascal@1491 25 make &&
pankso@43 26 make DESTDIR=$PWD/_pkg install
pankso@43 27 }
pankso@43 28
pankso@43 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@43 30 genpkg_rules()
pankso@43 31 {
pankso@549 32 mkdir -p $fs/usr/share/pixmaps $fs/usr/lib
pankso@43 33
pankso@43 34 cp -a $_pkg/etc $fs
pankso@549 35 cp $_pkg/usr/share/icons/hicolor/24x24/apps/gimp.png \
pankso@549 36 $fs/usr/share/pixmaps/gimp.png
pankso@43 37
pankso@43 38 cp -a $_pkg/usr/bin $fs/usr
pankso@43 39 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@43 40 cp -a $_pkg/usr/lib/gimp $fs/usr/lib
pankso@43 41 cp -a $_pkg/usr/share/gimp $fs/usr/share
pankso@549 42 cp -a $_pkg/usr/share/mime-info $fs/usr/share
pankso@43 43
pankso@43 44 rm $fs/usr/lib/gimp/*/*/*.la
pankso@43 45
pankso@43 46 # Put a nice splash with a spider
pankso@43 47 cp -a stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images/
pankso@43 48 }
pankso@43 49