wok diff stm8flash/receipt @ rev 24977

created recipe for fslint-lang
author Hans-G?nter Theisgen
date Fri May 06 16:54:42 2022 +0100 (2022-05-06)
parents 4475b80d02a6
children c965782a38e0
line diff
     1.1 --- a/stm8flash/receipt	Thu Aug 24 02:43:00 2017 +0200
     1.2 +++ b/stm8flash/receipt	Fri May 06 16:54:42 2022 +0100
     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