wok-6.x diff opus/receipt @ rev 24414
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 10 11:43:39 2022 +0000 (2022-02-10) |
parents | 095836df71b7 |
children | bc2b9d9bed6f |
line diff
1.1 --- a/opus/receipt Thu Jan 27 12:16:00 2022 +0000 1.2 +++ b/opus/receipt Thu Feb 10 11:43:39 2022 +0000 1.3 @@ -16,8 +16,8 @@ 1.4 # What is the latest version available today? 1.5 current_version() 1.6 { 1.7 - wget -O - ${WEB_SITE}downloads/ 2>/dev/null | \ 1.8 - sed '/Opus/!d;/tar/!d;s|.*/opus-||;s|.tar.*||;q' 1.9 + wget -O - ftp://ftp.osuosl.org/pub/xiph/releases/opus/ 2>/dev/null | \ 1.10 + sed '/opus-[0-9]/!d;/tar/!d;s|.*/opus-||;s|.tar.*||' | sort -Vr | sed q 1.11 } 1.12 1.13 # Rules to configure and make the package.