wok diff grub4dos/receipt @ rev 25028

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 19 17:04:56 2022 +0000 (2022-05-19)
parents c60adee9e733
children 85fc2431322f
line diff
     1.1 --- a/grub4dos/receipt	Sun Jul 26 14:28:44 2020 +0000
     1.2 +++ b/grub4dos/receipt	Thu May 19 17:04:56 2022 +0000
     1.3 @@ -12,6 +12,14 @@
     1.4  
     1.5  BUILD_DEPENDS="lzma gcc3 binutils"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - https://sourceforge.net/projects/grub4dos/files/GRUB4DOS/ 2>/dev/null | \
    1.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    1.12 +	sed '/scope="row/!d;s|.*%20||;s|/.*||;q'
    1.13 +}
    1.14 +
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17  {