wok-current diff task/receipt @ rev 24996
updated nim (0.19.6 -> 1.6.6)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 10:46:30 2022 +0100 (2022-05-16) |
parents | 2ce8d8e11fff |
children | d531d97128bf |
line diff
1.1 --- a/task/receipt Mon Feb 24 07:33:52 2020 +0100 1.2 +++ b/task/receipt Mon May 16 10:46:30 2022 +0100 1.3 @@ -17,6 +17,13 @@ 1.4 BUILD_DEPENDS="cmake gcc83 gnutls-dev libgnutls libunistring-dev 1.5 ncurses-dev util-linux-uuid-dev" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - ${WGET_URL%/*} 2>/dev/null | \ 1.11 + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {