wok diff memtester/receipt @ rev 25060

Up fakeroot (1.29)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 07 08:21:12 2022 +0000 (2022-06-07)
parents ad8b9ff412d2
children
line diff
     1.1 --- a/memtester/receipt	Sat Feb 12 18:42:31 2022 +0000
     1.2 +++ b/memtester/receipt	Tue Jun 07 08:21:12 2022 +0000
     1.3 @@ -7,10 +7,10 @@
     1.4  SHORT_DESC="A userspace utility for testing the memory subsystem for faults."
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  LICENSE="GPL2"
     1.7 -WEB_SITE="https://pyropus.ca/software/memtester"
     1.8 +WEB_SITE="https://github.com/jnavila/memtester"
     1.9  
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11 -WGET_URL="$WEB_SITE/old-versions/$TARBALL"
    1.12 +WGET_URL="$WEB_SITE/archive/refs/tags/v$VERSION.tar.gz"
    1.13  
    1.14  DEPENDS=""
    1.15  BUILD_DEPENDS=""
    1.16 @@ -20,8 +20,8 @@
    1.17  # What is the latest version available today?
    1.18  current_version()
    1.19  {
    1.20 -	wget -O - $WEB_SITE 2>/dev/null | \
    1.21 -	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    1.22 +	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    1.23 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    1.24  }
    1.25  
    1.26  # Rules to configure and make the package.