wok-6.x view aaphoto/receipt @ rev 15602

Use DESTDIR
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 05 20:42:36 2013 +0000 (2013-12-05)
parents 36a438c097dc
children 7b00a1691d2e
line source
1 # SliTaz package receipt.
3 PACKAGE="aaphoto"
4 VERSION="0.41"
5 CATEGORY="graphics"
6 SHORT_DESC="automatic photo adjusting"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL3"
9 SOURCE="aaphoto_sources_v"
10 TARBALL="$SOURCE$VERSION.tar.gz"
11 WEB_SITE="http://log69.com/aaphoto_en.html"
12 #WGET_URL="http://log69.com/downloads/$TARBALL"
13 WGET_URL="http://ftp.uni-erlangen.de/pub/FreeBSD/ports/distfiles/$TARBALL"
14 TAGS="photo jpeg jpg png bmp"
16 DEPENDS="jasper jpeg libpng zlib"
17 BUILD_DEPENDS="jpeg-dev jasper-dev libpng libpng-dev zlib-dev autoconf"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure --prefix=/usr &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin
32 cp -a $install/usr/bin $fs/usr
33 }