wok diff nconf/receipt @ rev 25341
amule: update to new libupnp API
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 24 16:17:15 2022 +0000 (2022-07-24) |
parents | 970c5ec9a60a |
children | 73f36875e5a7 |
line diff
1.1 --- a/nconf/receipt Sun May 20 13:28:18 2018 +0200 1.2 +++ b/nconf/receipt Sun Jul 24 16:17:15 2022 +0000 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 {