wok view fotoxx/receipt @ rev 5721

clamav: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 24 17:10:47 2010 +0200 (2010-06-24)
parents 4604e66f59fa
children 19c3786ca47d
line source
1 # SliTaz package receipt.
2 # 6.3 Higher version supports RAW Images and depends upon freeimage ufraw
3 # optional deps: exiv2
4 # Lets drop RAW Image HAndling
5 PACKAGE="fotoxx"
6 VERSION="5.10.5"
7 CATEGORY="graphics"
8 SHORT_DESC="lightweight image editor"
9 MAINTAINER="jozee@slitaz.org"
10 DEPENDS="gtk+ gcc-lib-base"
11 BUILD_DEPENDS="gtk+-dev"
12 SUGGESTED="exiv2 printoxx"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WEB_SITE="http://kornelix.squarespace.com/fotoxx"
15 WGET_URL="http://kornelix.squarespace.com/storage/downloads/$TARBALL"
16 TAGS="image editor photo jpeg jpg bmp png gif"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 export PREFIX=/usr make
23 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin $fs/usr/share/$PACKAGE/locales $fs/usr/share/applications
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/$PACKAGE/icons $fs/usr/share/$PACKAGE
33 #non-standard locale path
34 cp -a $_pkg/usr/share/$PACKAGE/locales/fr $fs/usr/share/$PACKAGE/locales/
35 cp -a stuff/$PACKAGE.desktop $fs/usr/share/applications
36 }