wok diff darkstat/receipt @ rev 24464
created recipes for dargui and dargui-lang
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 17 11:06:13 2022 +0100 (2022-02-17) |
parents | 822b3b44b544 |
children | f1f7aaa0be7d |
line diff
1.1 --- a/darkstat/receipt Mon Jan 13 07:59:55 2020 +0100 1.2 +++ b/darkstat/receipt Thu Feb 17 11:06:13 2022 +0100 1.3 @@ -15,6 +15,13 @@ 1.4 DEPENDS="libpcap zlib" 1.5 BUILD_DEPENDS="libpcap-dev zlib-dev" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - https://github.com/emikulic/darkstat/releases 2>/dev/null | \ 1.11 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {