wok diff task/receipt @ rev 24651
updated i2c-tools and i2c-tools-dev (4.1 -> 4.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 10 17:14:42 2022 +0100 (2022-03-10) |
parents | 2ce8d8e11fff |
children | d531d97128bf |
line diff
1.1 --- a/task/receipt Mon Feb 24 07:33:52 2020 +0100 1.2 +++ b/task/receipt Thu Mar 10 17:14:42 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 {