wok diff wxHexEditor/receipt @ rev 25570

created recipe for rubberband-dev
author Hans-G?nter Theisgen
date Sat May 13 10:31:53 2023 +0100 (18 months ago)
parents 83981c141996
children 29df00e1e19d
line diff
     1.1 --- a/wxHexEditor/receipt	Tue Nov 05 16:57:43 2019 +0100
     1.2 +++ b/wxHexEditor/receipt	Sat May 13 10:31:53 2023 +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  {