wok diff aldo/receipt @ rev 25675
zx2/zx1 fix current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 28 11:43:40 2024 +0000 (12 months ago) |
parents | 11b5e93cb5f2 |
children |
line diff
1.1 --- a/aldo/receipt Tue Jul 05 15:34:01 2016 +0300 1.2 +++ b/aldo/receipt Wed Feb 28 11:43:40 2024 +0000 1.3 @@ -13,6 +13,13 @@ 1.4 DEPENDS="libao" 1.5 BUILD_DEPENDS="libao-dev" 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 | \ 1.11 + sed "/atest/!d;/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\)<.*|\\1|" 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {