wok-current diff hydrogen/receipt @ rev 24436
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 13 13:09:42 2022 +0000 (2022-02-13) |
parents | 380ffe05937a |
children | 870e1ce31226 |
line diff
1.1 --- a/hydrogen/receipt Sat Aug 10 17:00:38 2013 +0000 1.2 +++ b/hydrogen/receipt Sun Feb 13 13:09:42 2022 +0000 1.3 @@ -18,6 +18,13 @@ 1.4 flac-dev libsndfile-dev alsa-lib-dev zlib-dev libtar-dev \ 1.5 ladspa-dev raptor-dev pkg-config subversion" 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/hydrogen/files/Hydrogen/ 2>/dev/null | \ 1.11 + sed '/scope="row/!d;s|.*/Hydrogen/||;s|%20.*||;q' 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {