wok-current diff hydra/receipt @ rev 24944
updated n2n (2.4 -> 3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 22 16:44:33 2022 +0100 (2022-04-22) |
parents | e3f377fbc5f0 |
children | 505d1daeed6c |
line diff
1.1 --- a/hydra/receipt Thu Jan 24 17:15:36 2019 +0100 1.2 +++ b/hydra/receipt Fri Apr 22 16:44:33 2022 +0100 1.3 @@ -15,6 +15,13 @@ 1.4 BUILD_DEPENDS="openssl-dev apr-dev gtk+-dev libssh-dev libmysqlclient \ 1.5 postgresql-dev subversion-dev libidn-dev mysql-dev" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - $WEB_SITE/releases 2>/dev/null | \ 1.11 + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {