wok-stable annotate fotoxx/receipt @ rev 7000
Up: fotoxx (10.10.3)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Oct 31 14:57:50 2010 +0100 (2010-10-31) |
parents | bf6da8639d66 |
children | af022550edde |
rev | line source |
---|---|
jozee@2727 | 1 # SliTaz package receipt. |
jozee@2727 | 2 PACKAGE="fotoxx" |
gokhlayeh@7000 | 3 VERSION="10.10.3" |
jozee@2727 | 4 CATEGORY="graphics" |
jozee@2727 | 5 SHORT_DESC="lightweight image editor" |
gokhlayeh@5954 | 6 MAINTAINER="gokhlayeh@mailoo.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 } |