wok diff cdparanoia-III/receipt @ rev 24074

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 08 09:18:48 2021 +0000 (2021-07-08)
parents a78610b2eb47
children
line diff
     1.1 --- a/cdparanoia-III/receipt	Mon Jan 21 12:26:11 2019 +0100
     1.2 +++ b/cdparanoia-III/receipt	Thu Jul 08 09:18:48 2021 +0000
     1.3 @@ -10,6 +10,12 @@
     1.4  TARBALL="$PACKAGE-$VERSION.src.tgz"
     1.5  WGET_URL="https://downloads.xiph.org/releases/cdparanoia/$TARBALL"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - https://ftp.osuosl.org/pub/xiph/releases/cdparanoia/ 2>/dev/null | \
    1.10 +	sed '/LATEST_IS/!d;s|.*LATEST_IS_||;s|<.*||;q'
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {