wok diff codeblocks/receipt @ rev 25032

giblib: modified configure parameter
author Hans-G?nter Theisgen
date Fri May 20 10:31:08 2022 +0100 (2022-05-20)
parents fa74795599b1
children 6b33f9da53d4
line diff
     1.1 --- a/codeblocks/receipt	Tue Jun 16 23:39:15 2020 -0400
     1.2 +++ b/codeblocks/receipt	Fri May 20 10:31:08 2022 +0100
     1.3 @@ -17,6 +17,14 @@
     1.4  	gcc49-lib-base gnome-icon-theme hunspell-dev libboost-dev libtool 
     1.5  	wxWidgets-dev xorg-libXau-dev xorg-libXdmcp-dev zip"
     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/codeblocks/files/Sources/ 2>/dev/null | \
    1.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    1.12 +	sed '/scope="row/!d;s|.*/Sources/||;s|/.*||;q'
    1.13 +}
    1.14 +
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17  {