wok diff atftp/receipt @ rev 24347

Up expat (2.4.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 02 09:41:22 2022 +0000 (2022-02-02)
parents ecfd56157396
children b56b38cfd475
line diff
     1.1 --- a/atftp/receipt	Thu Jan 27 15:48:06 2022 +0100
     1.2 +++ b/atftp/receipt	Wed Feb 02 09:41:22 2022 +0000
     1.3 @@ -16,7 +16,12 @@
     1.4  
     1.5  HOST_ARCH="i486 arm"
     1.6  
     1.7 -# @maintainer:	Please update also atftpd
     1.8 +# What is the latest version available today?
     1.9 +current_version()
    1.10 +{
    1.11 +	wget -O - https://sourceforge.net/projects/atftp/files/ 2>/dev/null | \
    1.12 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q"
    1.13 +}
    1.14  
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()