wok-6.x diff piclass-code-examples/receipt @ rev 25015
Add bzip3
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 17 11:06:25 2022 +0000 (2022-05-17) |
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 Tue May 17 11:06:25 2022 +0000 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 {