wok-6.x annotate fotoxx/receipt @ rev 5869
Up: fotoxx 10.7
author | Antoine Bodin <gokhlayeh@mailoo.org> |
---|---|
date | Tue Jul 20 18:58:46 2010 +0200 (2010-07-20) |
parents | 9f19aee613be |
children | c74549e8caca |
rev | line source |
---|---|
jozee@2727 | 1 # SliTaz package receipt. |
jozee@2727 | 2 PACKAGE="fotoxx" |
gokhlayeh@5869 | 3 VERSION="10.7" |
jozee@2727 | 4 CATEGORY="graphics" |
jozee@2727 | 5 SHORT_DESC="lightweight image editor" |
jozee@2727 | 6 MAINTAINER="jozee@slitaz.org" |
gokhlayeh@5869 | 7 DEPENDS="gtk+" |
gokhlayeh@5869 | 8 BUILD_DEPENDS="gtk+-dev freeimage freeimage-dev xdg-utils" |
gokhlayeh@5869 | 9 SUGGESTED="exiftool ufraw printoxx" |
jozee@2727 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2727 | 11 WEB_SITE="http://kornelix.squarespace.com/fotoxx" |
jozee@2727 | 12 WGET_URL="http://kornelix.squarespace.com/storage/downloads/$TARBALL" |
jozee@2935 | 13 TAGS="image editor photo jpeg jpg bmp png gif" |
jozee@2727 | 14 |
jozee@2727 | 15 # Rules to configure and make the package. |
jozee@2727 | 16 compile_rules() |
jozee@2727 | 17 { |
jozee@2727 | 18 cd $src |
jozee@2727 | 19 export PREFIX=/usr make |
jozee@2727 | 20 make DESTDIR=$PWD/_pkg install |
jozee@2727 | 21 |
jozee@2727 | 22 } |
jozee@2727 | 23 |
jozee@2727 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2727 | 25 genpkg_rules() |
jozee@2727 | 26 { |
jozee@2935 | 27 mkdir -p $fs/usr/bin $fs/usr/share/$PACKAGE/locales $fs/usr/share/applications |
jozee@2727 | 28 cp -a $_pkg/usr/bin $fs/usr |
jozee@2935 | 29 cp -a $_pkg/usr/share/$PACKAGE/icons $fs/usr/share/$PACKAGE |
jozee@2935 | 30 #non-standard locale path |
gokhlayeh@5869 | 31 cp -a $_pkg/usr/share/$PACKAGE/locales/* $fs/usr/share/$PACKAGE/locales/ |
jozee@2935 | 32 cp -a stuff/$PACKAGE.desktop $fs/usr/share/applications |
jozee@2727 | 33 } |