wok-current diff wxHexEditor/receipt @ rev 25256
updated qrencode and qrencode-dev (4.0.2 -> 4.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 06:38:49 2022 +0100 (2022-07-15) |
parents | 83981c141996 |
children |
line diff
1.1 --- a/wxHexEditor/receipt Tue Nov 05 16:57:43 2019 +0100 1.2 +++ b/wxHexEditor/receipt Fri Jul 15 06:38:49 2022 +0100 1.3 @@ -15,6 +15,15 @@ 1.4 DEPENDS="libgomp wxWidgets" 1.5 BUILD_DEPENDS="autoconf automake libffi libtool wxWidgets-dev" 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/$PACKAGE/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 's| |\n|g' | sed '/http/!d;/download/!d;s|^"||;s|/download",||;q' | xargs wget -O - 2>/dev/null | \ 1.13 + sed '/src.tar..z/!d;s|.*wxHexEditor-v||;s|-src.*||;q' 1.14 +} 1.15 + 1.16 # Rules to configure and make the package. 1.17 compile_rules() 1.18 {