wok diff glibc/receipt @ rev 25609
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 20 14:03:05 2023 +0000 (9 months ago) |
parents | 324b3fa82b76 |
children |
line diff
1.1 --- a/glibc/receipt Mon May 24 11:24:29 2021 +0000 1.2 +++ b/glibc/receipt Thu Jul 20 14:03:05 2023 +0000 1.3 @@ -16,9 +16,10 @@ 1.4 # Genpkg order for tazwok. 1.5 COOK_OPT="genpkg=glibc-base:glib-locale:glibc-dev" 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://ftp.gnu.org/gnu/$PACKAGE/ 2>/dev/null | \ 1.12 sed '/href="glibc-[0-9]/!d;/tar/!d;s|.*>glibc-||;s|.tar.*||' | \ 1.13 sort -Vr | sed q 1.14 }