wok-current diff codeblocks/receipt @ rev 25096

created recipe for wordgrinder
author Hans-G?nter Theisgen
date Sat Jun 18 15:13:12 2022 +0100 (2022-06-18)
parents fa74795599b1
children
line diff
     1.1 --- a/codeblocks/receipt	Tue Jun 16 23:39:15 2020 -0400
     1.2 +++ b/codeblocks/receipt	Sat Jun 18 15:13:12 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  {