wok-current diff gpxe/receipt @ rev 24491

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 18 22:59:06 2022 +0000 (2022-02-18)
parents 0686e05d4ad3
children 22471cbea549
line diff
     1.1 --- a/gpxe/receipt	Mon Feb 26 11:01:43 2018 +0100
     1.2 +++ b/gpxe/receipt	Fri Feb 18 22:59:06 2022 +0000
     1.3 @@ -12,6 +12,13 @@
     1.4  
     1.5  BUILD_DEPENDS="perl"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - http://etherboot.org/wiki/ 2>/dev/null | \
    1.11 +	sed '/released/!d;s|.*gPXE-||;s| rel.*||;q'
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {