wok-current diff eudev/receipt @ rev 24614

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 06 21:04:14 2022 +0000 (2022-03-06)
parents 42a93682ac45
children 5926178cd6fa
line diff
     1.1 --- a/eudev/receipt	Tue Feb 22 17:08:18 2022 +0100
     1.2 +++ b/eudev/receipt	Sun Mar 06 21:04:14 2022 +0000
     1.3 @@ -16,10 +16,11 @@
     1.4  BUILD_DEPENDS="acl-dev automake dbus-dev gperf kmod-dev libtool libxslt
     1.5  	pcre-dev pkg-config util-linux-blkid-dev util-linux-uuid-dev"
     1.6  
     1.7 +# What is the latest version available today?
     1.8  current_version()
     1.9  {
    1.10 -	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    1.11 -	sed '/tar.gz</!d;s|.*HREF=eudev-||;s|.tar.gz.*||' | sort -Vr | sed q
    1.12 +	wget -O - https://github.com/eudev-project/eudev/releases 2>/dev/null | \
    1.13 +	sed '/archive.*tar/!d;s|.*/[A-Za-z-]*\(.*\).tar.*|\1|;q'
    1.14  }
    1.15  
    1.16  # Rules to configure and make the package.