wok-stable view fotoxx/receipt @ rev 9784
tazchroot: fix to avoid clone each time (TARBALL must be set)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 11 23:32:39 2011 +0200 (2011-05-11) |
parents | 59009b1c6878 |
children | ffcce0571b63 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fotoxx"
4 VERSION="11.04"
5 CATEGORY="graphics"
6 SHORT_DESC="lightweight image editor"
7 MAINTAINER="gokhlayeh@slitaz.org"
8 DEPENDS="gtk+"
9 BUILD_DEPENDS="exiftool gtk+-dev freeimage freeimage-dev xdg-utils"
10 SUGGESTED="exiftool ufraw printoxx"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://kornelix.squarespace.com/fotoxx"
13 WGET_URL="http://kornelix.squarespace.com/storage/downloads/$TARBALL"
14 TAGS="image editor photo jpeg jpg bmp png gif"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 export PREFIX=/usr make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin $fs/usr/share/$PACKAGE/locales
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/share/$PACKAGE/icons $fs/usr/share/$PACKAGE
30 #non-standard locale path
31 cp -a $_pkg/usr/share/$PACKAGE/locales/* $fs/usr/share/$PACKAGE/locales/
32 }