wok view aaphoto/receipt @ rev 25632
Up gtklife (5.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 23 14:06:29 2023 +0000 (8 months ago) |
parents | 8655cec97854 |
children |
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="https://web.archive.org/web/20220728233436/http://log69.com/aaphoto_en.html"
12 #WEB_SITE="https://github.com/log69/aaphoto"
13 #WGET_URL="http://log69.com/downloads/$TARBALL"
14 WGET_URL="http://deb.debian.org/debian/pool/main/a/aaphoto/aaphoto_$VERSION.orig.tar.gz"
15 TAGS="photo jpeg jpg png bmp"
17 DEPENDS="jasper jpeg libpng zlib"
18 BUILD_DEPENDS="jpeg-dev jasper-dev libpng libpng-dev zlib-dev autoconf"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | sed '/aaphoto v/!d;s|.*v||;s|<.*||'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lz"
30 ./configure --prefix=/usr &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/bin
39 cp -a $install/usr/bin $fs/usr
40 }