wok-current diff glibc/receipt @ rev 25024

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 18 20:10:17 2022 +0000 (2022-05-18)
parents 2a47d3b3f4de
children 7d24d697015f
line diff
     1.1 --- a/glibc/receipt	Fri Jul 17 11:18:27 2020 +0000
     1.2 +++ b/glibc/receipt	Wed May 18 20:10:17 2022 +0000
     1.3 @@ -16,6 +16,13 @@
     1.4  # Genpkg order for tazwok.
     1.5  COOK_OPT="genpkg=glibc-base:glib-locale:glibc-dev"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    1.10 +	sed '/href="glibc-[0-9]/!d;/tar/!d;s|.*>glibc-||;s|.tar.*||' | \
    1.11 +	sort -Vr | sed q
    1.12 +}
    1.13 +
    1.14  # Rules to compile & install the temporary toolchain.
    1.15  cook_tmp_toolchain()
    1.16  {