wok diff lapack/receipt @ rev 25603

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 18 11:43:32 2023 +0000 (10 months ago)
parents 870e1ce31226
children 7a8b9cd09212
line diff
     1.1 --- a/lapack/receipt	Fri Apr 08 10:34:41 2022 +0000
     1.2 +++ b/lapack/receipt	Tue Jul 18 11:43:32 2023 +0000
     1.3 @@ -17,8 +17,8 @@
     1.4  # What is the latest version available today?
     1.5  current_version()
     1.6  {
     1.7 -	wget -O - ${WGET_URL%/*} 2>/dev/null | \
     1.8 -	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
     1.9 +	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    1.10 +	sed '/latest/d;/tag\//!d;s|.*tag/v*||;s|".*||;q'
    1.11  }
    1.12  
    1.13  # Rules to configure and make the package.