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

v4l-dvb: break on build error
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 27 14:27:30 2010 +0200 (2010-07-27)
parents 8c3afa509bc2
children 7955791eca55
line source
1 # SliTaz package receipt.
3 PACKAGE="aaphoto"
4 VERSION="0.30"
5 CATEGORY="graphics"
6 SHORT_DESC="automatic photo adjusting"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="jasper jpeg libpng zlib"
9 BUILD_DEPENDS="jpeg-dev jasper-dev libpng-dev zlib-dev"
10 SOURCES="aaphoto_sources_v"
11 TARBALL="$SOURCES$VERSION.tar.gz"
12 WEB_SITE="http://log69.com/aaphoto_en.html"
13 WGET_URL="http://log69.com/downloads/$TARBALL"
14 TAGS="photo jpeg jpg png bmp"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $WOK/$PACKAGE/${PACKAGE}-v$VERSION
21 ./configure --prefix=/usr &&
22 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
31 _pkg=$WOK/$PACKAGE/${PACKAGE}-v$VERSION/_pkg
32 cp -a $_pkg/usr/bin $fs/usr
34 }