wok view fotoxx/receipt @ rev 7856

ruby: build and package with shared library, added zlib-dev BUILD_DEPENDS.
author Liu Peng <rocky@slitaz.org>
date Fri Dec 31 08:55:12 2010 +0000 (2010-12-31)
parents d338889de859
children 5ee8cb35f6b2
line source
1 # SliTaz package receipt.
3 PACKAGE="fotoxx"
4 VERSION="10.12.1"
5 CATEGORY="graphics"
6 SHORT_DESC="lightweight image editor"
7 MAINTAINER="gokhlayeh@slitaz.org"
8 DEPENDS="gtk+"
9 BUILD_DEPENDS="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 }