wok-6.x diff mesa/receipt @ rev 25445

itaka: fix wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 06 07:38:52 2022 +0000 (2022-09-06)
parents 89c8d8b6cf48
children
line diff
     1.1 --- a/mesa/receipt	Fri Feb 18 09:29:30 2022 +0000
     1.2 +++ b/mesa/receipt	Tue Sep 06 07:38:52 2022 +0000
     1.3 @@ -25,8 +25,8 @@
     1.4  # What is the latest version available today?
     1.5  current_version()
     1.6  {
     1.7 -	wget -O - ftp://ftp.freedesktop.org/pub/mesa/ 2>/dev/null | \
     1.8 -	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
     1.9 +	wget -O - 'https://gitlab.freedesktop.org/mesa/mesa/-/tags?sort=updated_desc' 2>/dev/null | \
    1.10 +	sed '/item-title/!d;/-rc/d;s|.*">[a-z-]*||;s|<.*||;q'
    1.11  }
    1.12  
    1.13  # Rules to configure and make the package.