wok-6.x annotate fotoxx/receipt @ rev 4154
Fix: coreutils-operations dont remove cp/rm in post_install, we need them to install
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Sep 21 21:04:25 2009 +0200 (2009-09-21) |
parents | 469a559611b0 |
children | 9f19aee613be |
rev | line source |
---|---|
jozee@2727 | 1 # SliTaz package receipt. |
jozee@2727 | 2 # 6.3 Higher version supports RAW Images and depends upon freeimage ufraw |
jozee@2727 | 3 # optional deps: exiv2 |
jozee@2935 | 4 # Lets drop RAW Image HAndling |
jozee@2727 | 5 PACKAGE="fotoxx" |
jozee@2727 | 6 VERSION="5.10.5" |
jozee@2727 | 7 CATEGORY="graphics" |
jozee@2727 | 8 SHORT_DESC="lightweight image editor" |
jozee@2727 | 9 MAINTAINER="jozee@slitaz.org" |
jozee@2727 | 10 DEPENDS="gtk+ " |
jozee@2727 | 11 BUILD_DEPENDS="gtk+-dev" |
jozee@2935 | 12 SUGGESTED="exiv2 printoxx" |
jozee@2727 | 13 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2727 | 14 WEB_SITE="http://kornelix.squarespace.com/fotoxx" |
jozee@2727 | 15 WGET_URL="http://kornelix.squarespace.com/storage/downloads/$TARBALL" |
jozee@2935 | 16 TAGS="image editor photo jpeg jpg bmp png gif" |
jozee@2727 | 17 |
jozee@2727 | 18 # Rules to configure and make the package. |
jozee@2727 | 19 compile_rules() |
jozee@2727 | 20 { |
jozee@2727 | 21 cd $src |
jozee@2727 | 22 export PREFIX=/usr make |
jozee@2727 | 23 make DESTDIR=$PWD/_pkg install |
jozee@2727 | 24 |
jozee@2727 | 25 } |
jozee@2727 | 26 |
jozee@2727 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2727 | 28 genpkg_rules() |
jozee@2727 | 29 { |
jozee@2935 | 30 mkdir -p $fs/usr/bin $fs/usr/share/$PACKAGE/locales $fs/usr/share/applications |
jozee@2727 | 31 cp -a $_pkg/usr/bin $fs/usr |
jozee@2935 | 32 cp -a $_pkg/usr/share/$PACKAGE/icons $fs/usr/share/$PACKAGE |
jozee@2935 | 33 #non-standard locale path |
jozee@2935 | 34 cp -a $_pkg/usr/share/$PACKAGE/locales/fr $fs/usr/share/$PACKAGE/locales/ |
jozee@2935 | 35 cp -a stuff/$PACKAGE.desktop $fs/usr/share/applications |
jozee@2727 | 36 } |