wok-6.x annotate fotoxx/receipt @ rev 6062

tazbb: preserve hotfixes in tazwok & tazpkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 21 13:58:44 2010 +0200 (2010-08-21)
parents 19c3786ca47d
children bf6da8639d66
rev   line source
jozee@2727 1 # SliTaz package receipt.
jozee@2727 2 PACKAGE="fotoxx"
gokhlayeh@5954 3 VERSION="10.8"
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 }