wok-6.x diff aaphoto/receipt @ rev 25421
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 10 07:02:08 2022 +0000 (2022-08-10) |
parents | 082d1f527a7c |
children | e4cc6a0d37f0 |
line diff
1.1 --- a/aaphoto/receipt Tue Feb 05 15:53:46 2019 +0100 1.2 +++ b/aaphoto/receipt Wed Aug 10 07:02:08 2022 +0000 1.3 @@ -16,10 +16,15 @@ 1.4 DEPENDS="jasper jpeg libpng zlib" 1.5 BUILD_DEPENDS="jpeg-dev jasper-dev libpng libpng-dev zlib-dev autoconf" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - $WEB_SITE 2>/dev/null | sed '/aaphoto v/!d;s|.*v||;s|<.*||' 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 { 1.16 - cd $src 1.17 ./configure --prefix=/usr && 1.18 make && 1.19 make DESTDIR=$DESTDIR install