wok-6.x diff libvorbis/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/libvorbis/receipt Thu Jan 27 12:16:00 2022 +0000 1.2 +++ b/libvorbis/receipt Thu Feb 10 11:43:39 2022 +0000 1.3 @@ -19,8 +19,8 @@ 1.4 # What is the latest version available today? 1.5 current_version() 1.6 { 1.7 - wget -O - https://www.xiph.org/downloads/ 2>/dev/null | \ 1.8 - sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 1.9 + wget -O - ftp://ftp.osuosl.org/pub/xiph/releases/vorbis/ 2>/dev/null | \ 1.10 + sed '/libvorbis-/!d;/zip/d;s|.*libvorbis-||;s|.tar.*||' | sort -Vr | sed q 1.11 } 1.12 1.13 # Rules to configure and make the package.