wok diff ht/receipt @ rev 25023

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 18 17:10:15 2022 +0000 (2022-05-18)
parents a6f7b6b890c2
children 7dd01dedad38
line diff
     1.1 --- a/ht/receipt	Wed Jun 01 02:52:45 2016 +0300
     1.2 +++ b/ht/receipt	Wed May 18 17:10:15 2022 +0000
     1.3 @@ -14,6 +14,13 @@
     1.4  DEPENDS="gcc-lib-base lzo ncurses xorg-libX11 xorg-libXau xorg-libXdmcp"
     1.5  BUILD_DEPENDS="lzo-dev ncurses-dev"
     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/hte/files/ht-source/ 2>/dev/null | \
    1.11 +	sed '/scope="row/!d;/tar/!d;s|.*/ht-||;s|.tar.*||;q'
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {