wok-current diff wqy-microhei/receipt @ rev 24828
updated libshout and libshout-dev again (2.4.3 -> 2.4.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 23 17:27:54 2022 +0100 (2022-03-23) |
parents | d1570adae0ba |
children | 5926178cd6fa |
line diff
1.1 --- a/wqy-microhei/receipt Mon May 09 21:28:29 2016 +0300 1.2 +++ b/wqy-microhei/receipt Wed Mar 23 17:27:54 2022 +0100 1.3 @@ -12,6 +12,15 @@ 1.4 1.5 DEPENDS="" 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/wqy/files/ 2>/dev/null | \ 1.11 + sed '/scope="row/!d;/wqy-microhei\//!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 1.12 + sed 's| |\n|g' | sed '/http/!d;/download/!d;s|^"||;s|/download",|/|;q' | xargs wget -O - 2>/dev/null | \ 1.13 + sed '/tar/!d;/wqy-microhei/!d;s|.*wqy-microhei-||;s|.tar.*||;q' 1.14 +} 1.15 + 1.16 # Rules to configure and make the package. 1.17 compile_rules() 1.18 {