wok diff libogg/receipt @ rev 24391

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 07 18:01:05 2022 +0000 (2022-02-07)
parents 5d79829fa876
children 3abeffdae80b
line diff
     1.1 --- a/libogg/receipt	Wed Jul 07 17:56:16 2021 +0000
     1.2 +++ b/libogg/receipt	Mon Feb 07 18:01:05 2022 +0000
     1.3 @@ -15,9 +15,10 @@
     1.4  
     1.5  HOST_ARCH="i486 arm"
     1.6  
     1.7 +# What is the latest version available today?
     1.8  current_version()
     1.9  {
    1.10 -	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    1.11 +	wget -O - https://www.xiph.org/downloads/ 2>/dev/null | \
    1.12  	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr |  sed q
    1.13  }
    1.14