wok-6.x diff pwauth/receipt @ rev 24698
Up usbids (2022.02.23)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 13 17:29:51 2022 +0000 (2022-03-13) |
parents | 6135577f4d08 |
children | 1805f71c5d9f |
line diff
1.1 --- a/pwauth/receipt Sat Jan 26 12:26:47 2019 +0100 1.2 +++ b/pwauth/receipt Sun Mar 13 17:29:51 2022 +0000 1.3 @@ -7,12 +7,19 @@ 1.4 MAINTAINER="pankso@slitaz.org" 1.5 LICENSE="BSD" 1.6 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.7 -WEB_SITE="https://github.com/phokz/pwauth/" 1.8 +WEB_SITE="https://github.com/phokz/pwauth" 1.9 WGET_URL="https://pwauth.googlecode.com/files/$TARBALL" 1.10 1.11 DEPENDS="" 1.12 BUILD_DEPENDS="wget" 1.13 1.14 +# What is the latest version available today? 1.15 +current_version() 1.16 +{ 1.17 + wget -O - $WEB_SITE/tags 2>/dev/null | \ 1.18 + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' 1.19 +} 1.20 + 1.21 # Rules to configure and make the package. 1.22 compile_rules() 1.23 {