wok diff xine-lib/receipt @ rev 24937

Up iptraf (3.0.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 14 08:53:05 2022 +0000 (2022-04-14)
parents fabe7b490b0b
children ec9531d04de1
line diff
     1.1 --- a/xine-lib/receipt	Sun May 24 07:34:28 2020 +0000
     1.2 +++ b/xine-lib/receipt	Thu Apr 14 08:53:05 2022 +0000
     1.3 @@ -28,6 +28,14 @@
     1.4  		ARCH_ARGS="--disable-xinerama" ;;
     1.5  esac
     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/xine/files/xine-lib/ 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|.*/xine-lib/||;s|/.*||;q'
    1.13 +}
    1.14 +
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17  {