wok-current diff silc-server/receipt @ rev 24411
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 09 17:57:59 2022 +0000 (2022-02-09) |
parents | fa50aa6b22c6 |
children |
line diff
1.1 --- a/silc-server/receipt Fri Oct 04 15:55:31 2019 +0100 1.2 +++ b/silc-server/receipt Wed Feb 09 17:57:59 2022 +0000 1.3 @@ -14,6 +14,13 @@ 1.4 1.5 CONFIG_FILES="/etc/silcalgs.conf /etc/silcd.conf" 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/silc/files/silc/server/sources/ 2>/dev/null | \ 1.11 + sed "/$PACKAGE-/!d;s|.*$PACKAGE-||;s|.[zt].*||;s|_|.|g;q" 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {