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

updated xfce4-ristretto 0.6.3 -> 0.8.5
author Hans-G?nter Theisgen
date Tue Apr 25 15:16:20 2023 +0100 (18 months ago)
parents e4cc6a0d37f0
children 64e725df93c0
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://ftp.twaren.net/Linux/Gentoo/distfiles/88/$TARBALL"
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 }