wok diff httpfs2-fuse/receipt @ rev 24694

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 13 12:06:14 2022 +0000 (2022-03-13)
parents a8546de77bcc
children b1356f30c0b8
line diff
     1.1 --- a/httpfs2-fuse/receipt	Sat Aug 01 16:19:51 2020 +0000
     1.2 +++ b/httpfs2-fuse/receipt	Sun Mar 13 12:06:14 2022 +0000
     1.3 @@ -16,6 +16,13 @@
     1.4  DEPENDS="gcc-lib-base fuse libgnutls"
     1.5  BUILD_DEPENDS="fuse-dev gnutls-dev libgnutls pkg-config asciidoc docbook-xml"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - https://sourceforge.net/projects/httpfs/files/httpfs2/ 2>/dev/null | \
    1.11 +	sed '/scope="row/!d;/tar/!d;/\/httpfs/!d;s|.*/httpfs2-||;s|.tar.*||;q'
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {