wok-current view aaphoto/receipt @ rev 25042
Up lzsa (1.3.12), zstd (1.5.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 01 08:14:05 2022 +0000 (2022-06-01) |
parents | 082d1f527a7c |
children | e4cc6a0d37f0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="aaphoto"
4 VERSION="0.45"
5 CATEGORY="graphics"
6 SHORT_DESC="Automatic photo adjusting."
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL3"
9 SOURCE="aaphoto_sources_"
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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | sed '/aaphoto v/!d;s|.*v||;s|<.*||'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure --prefix=/usr &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin
37 cp -a $install/usr/bin $fs/usr
38 }