wok diff piclass-code-examples/receipt @ rev 25005
updated ntl (11.4.3 -> 11.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 16:29:07 2022 +0100 (2022-05-16) |
parents | dcdb8c03a306 |
children |
line diff
1.1 --- a/piclass-code-examples/receipt Tue Dec 30 10:32:30 2014 +0100 1.2 +++ b/piclass-code-examples/receipt Mon May 16 16:29:07 2022 +0100 1.3 @@ -15,6 +15,13 @@ 1.4 TAGS="python raspberrypi rpi" 1.5 DEPENDS="python python-smbus i2c-tools slitaz-arm-rpi" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - https://github.com/piclass/code-examples/commits/master 2>/dev/null | \ 1.11 + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {