wok-6.x diff fftw/receipt @ rev 24439
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 13 18:01:32 2022 +0000 (2022-02-13) |
parents | 4af5a3ba8ed3 |
children |
line diff
1.1 --- a/fftw/receipt Fri Feb 04 15:51:08 2022 +0100 1.2 +++ b/fftw/receipt Sun Feb 13 18:01:32 2022 +0000 1.3 @@ -15,6 +15,13 @@ 1.4 1.5 # Rules to configure and make the package. 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 '/FFTW [0-9]/!d;s|^FFTW ||;s| is.*||;q' 1.12 +} 1.13 + 1.14 compile_rules() 1.15 { 1.16 # build double precision