wok diff stm8flash/receipt @ rev 25060
Up fakeroot (1.29)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 07 08:21:12 2022 +0000 (2022-06-07) |
parents | 4475b80d02a6 |
children | c965782a38e0 |
line diff
1.1 --- a/stm8flash/receipt Thu Aug 24 02:43:00 2017 +0200 1.2 +++ b/stm8flash/receipt Tue Jun 07 08:21:12 2022 +0000 1.3 @@ -12,6 +12,13 @@ 1.4 WEB_SITE="https://github.com/vdudouyt/stm8flash" 1.5 WGET_URL="$WEB_SITE/archive/$TARBALL" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ 1.11 + sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d 1.12 +} 1.13 + 1.14 DEPENDS="libusb" 1.15 BUILD_DEPENDS="libusb-dev" 1.16