wok-current diff wxHexEditor/receipt @ rev 24841
updated libuninameslist and libuninameslist-dev (20190701 -> 20211114)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 25 09:32:35 2022 +0100 (2022-03-25) |
parents | 83981c141996 |
children |
line diff
1.1 --- a/wxHexEditor/receipt Tue Nov 05 16:57:43 2019 +0100 1.2 +++ b/wxHexEditor/receipt Fri Mar 25 09:32:35 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 {