wok-6.x diff openmotif/receipt @ rev 24506
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 20 14:41:23 2022 +0000 (2022-02-20) |
parents | 381f759402e1 |
children |
line diff
1.1 --- a/openmotif/receipt Tue May 28 15:10:25 2019 +0100 1.2 +++ b/openmotif/receipt Sun Feb 20 14:41:23 2022 +0000 1.3 @@ -18,6 +18,14 @@ 1.4 xorg-libXrender-dev xorg-libXt-dev xorg-printproto xorg-xbitmaps \ 1.5 xorg-xextproto xorg-xproto" 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/motif/files/ 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|.*/Motif%20||;s|%20.*||;q' 1.13 +} 1.14 + 1.15 # Rules to configure and make the package. 1.16 compile_rules() 1.17 {