wok diff wxHexEditor/receipt @ rev 24635
updated gutenprint and gutenprint-dev (5.3.3 -> 5.3.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 09 08:09:06 2022 +0100 (2022-03-09) |
parents | 83981c141996 |
children | 29df00e1e19d |
line diff
1.1 --- a/wxHexEditor/receipt Tue Nov 05 16:57:43 2019 +0100 1.2 +++ b/wxHexEditor/receipt Wed Mar 09 08:09:06 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 {