wok diff sshpass/receipt @ rev 24143

Add ventoy
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 16 17:16:48 2021 +0000 (2021-11-16)
parents 464054350afc
children a3e66646ebf7
line diff
     1.1 --- a/sshpass/receipt	Fri Oct 11 13:11:00 2019 +0100
     1.2 +++ b/sshpass/receipt	Tue Nov 16 17:16:48 2021 +0000
     1.3 @@ -13,6 +13,13 @@
     1.4  
     1.5  SUGGESTED="openssh"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
    1.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    1.11 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q"
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {