wok-6.x diff memtester/receipt @ rev 25142
updated pjsip and pjsip-dev (2.8 -> 2.11.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 14:35:46 2022 +0100 (2022-06-29) |
parents | ad8b9ff412d2 |
children |
line diff
1.1 --- a/memtester/receipt Sat Feb 12 18:42:31 2022 +0000 1.2 +++ b/memtester/receipt Wed Jun 29 14:35:46 2022 +0100 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.