wok-6.x diff liblo/receipt @ rev 24694
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 13 12:06:14 2022 +0000 (2022-03-13) |
parents | 8d0784467a10 |
children | 9a714ac859a3 |
line diff
1.1 --- a/liblo/receipt Tue Mar 10 16:42:04 2020 +0100 1.2 +++ b/liblo/receipt Sun Mar 13 12:06:14 2022 +0000 1.3 @@ -14,6 +14,14 @@ 1.4 DEPENDS="gcc83-lib-base" 1.5 BUILD_DEPENDS="gcc83" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - https://sourceforge.net/projects/liblo/files/liblo/ 2>/dev/null | \ 1.11 + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 1.12 + sed '/scope="row/!d;s|.*/liblo/||;s|/.*||;q' 1.13 +} 1.14 + 1.15 # Rules to configure and make the package. 1.16 1.17 compile_rules()