wok diff nconf/receipt @ rev 25185

mplayer: added dependency ffmpeg
author Hans-G?nter Theisgen
date Tue Jul 12 09:50:00 2022 +0100 (2022-07-12)
parents 970c5ec9a60a
children 73f36875e5a7
line diff
     1.1 --- a/nconf/receipt	Sun May 20 13:28:18 2018 +0200
     1.2 +++ b/nconf/receipt	Tue Jul 12 09:50:00 2022 +0100
     1.3 @@ -12,6 +12,14 @@
     1.4  
     1.5  DEPENDS="mysql php-apache nagios perl perl-dbi perl-dbd-mysql"
     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/nconf/files/nconf/ 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|.*/nconf/||;s|/.*||;q'
    1.13 +}
    1.14 +
    1.15  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.16  genpkg_rules()
    1.17  {