wok-4.x annotate gimp/receipt @ rev 207
Full up category graphics
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 13 14:33:01 2008 +0100 (2008-02-13) |
parents | 76785db15d2c |
children | eb4e6a1af180 |
rev | line source |
---|---|
pankso@43 | 1 # SliTaz package receipt. |
pankso@43 | 2 |
pankso@43 | 3 PACKAGE="gimp" |
pankso@43 | 4 VERSION="2.2.17" |
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" |
pankso@43 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@43 | 10 WEB_SITE="http://www.gimp.org/" |
pankso@43 | 11 WGET_URL="ftp://ftp.gimp.org/pub/gimp/v2.2/$TARBALL" |
pascal@153 | 12 JWM_MENU='Graphics:<Program icon="gimp.png" label="Gimp">gimp</Program>' |
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@43 | 22 $CONFIGURE_ARGS \ |
pankso@43 | 23 --disable-print |
pankso@43 | 24 make |
pankso@43 | 25 make DESTDIR=$PWD/_pkg install |
pankso@43 | 26 } |
pankso@43 | 27 |
pankso@43 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@43 | 29 genpkg_rules() |
pankso@43 | 30 { |
pankso@164 | 31 mkdir -p \ |
pankso@164 | 32 $fs/usr $fs/usr/lib \ |
pankso@164 | 33 $fs/usr/share/applications \ |
pankso@164 | 34 $fs/usr/share/locale \ |
pankso@164 | 35 $fs/usr/share/pixmaps |
pankso@43 | 36 |
pankso@43 | 37 cp -a $_pkg/etc $fs |
pankso@43 | 38 cp $src/data/images/wilber-icon.png $fs/usr/share/pixmaps/gimp.png |
pankso@43 | 39 |
pankso@43 | 40 cp -a $_pkg/usr/bin $fs/usr |
pankso@43 | 41 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@43 | 42 cp -a $_pkg/usr/lib/gimp $fs/usr/lib |
pankso@43 | 43 cp -a $_pkg/usr/share/gimp $fs/usr/share |
pankso@43 | 44 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@43 | 45 |
pankso@43 | 46 rm $fs/usr/lib/gimp/*/*/*.la |
pankso@43 | 47 strip --strip-unneeded $fs/usr/lib/*.so* |
pankso@43 | 48 strip --strip-unneeded $fs/usr/lib/gimp/*/modules/*.so |
pankso@43 | 49 strip -s $fs/usr/lib/gimp/*/plug-ins/* |
pankso@43 | 50 strip -s $fs/usr/bin/* 2>/dev/null |
pankso@43 | 51 |
pankso@43 | 52 # Put a nice splash with a spider |
pankso@43 | 53 cp -a stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images/ |
pankso@43 | 54 |
pankso@164 | 55 # Freedesktop entry |
pankso@164 | 56 cp -a stuff/$PACKAGE.desktop $fs/usr/share/applications |
pankso@43 | 57 } |
pankso@43 | 58 |