wok-6.x diff wv/receipt @ rev 24949

updated nagios-nsca (2.9.2 -> 2.10.1)
author Hans-G?nter Theisgen
date Fri Apr 22 17:54:28 2022 +0100 (2022-04-22)
parents ae303dd64237
children
line diff
     1.1 --- a/wv/receipt	Sun Dec 07 11:41:39 2014 +0100
     1.2 +++ b/wv/receipt	Fri Apr 22 17:54:28 2022 +0100
     1.3 @@ -13,6 +13,13 @@
     1.4  DEPENDS="glib libgsf libpng libxml2 zlib"
     1.5  BUILD_DEPENDS="libgsf libgsf-dev glib-dev libxml2-dev libpng-dev"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - ${WGET_URL%/*/*}/ 2>/dev/null | \
    1.11 +	sed '/\[DIR/!d;/arent/d;s|.*ref="||;s|/.*||' | sort -Vr | sed q
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {