wok diff cpige/receipt @ rev 24985

Add python-future
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 10 07:46:58 2022 +0000 (2022-05-10)
parents d8c511e24c20
children cb5bc40867f1
line diff
     1.1 --- a/cpige/receipt	Fri Feb 18 22:59:06 2022 +0000
     1.2 +++ b/cpige/receipt	Tue May 10 07:46:58 2022 +0000
     1.3 @@ -7,7 +7,7 @@
     1.4  SHORT_DESC="A shoutcast and icecast stream downloader"
     1.5  MAINTAINER="devel@slitaz.org"
     1.6  LICENSE="GNU/GPL v2"
     1.7 -WEB_SITE="https://old.ed.zehome.com/?page=cpige-en"
     1.8 +WEB_SITE="https://github.com/zehome/cpige"
     1.9  
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WGET_URL="http://old.ed.zehome.com/$PACKAGE/$TARBALL"
    1.12 @@ -18,8 +18,8 @@
    1.13  # What is the latest version available today?
    1.14  current_version()
    1.15  {
    1.16 -	wget -O - "$WEB_SITE" 2>/dev/null | \
    1.17 -	sed '/Version /!d;s|.*sion ||;s|<.*||;q'
    1.18 +	wget -O - https://github.com/zehome/cpige/releases 2>/dev/null | \
    1.19 +	sed '/archive.*tar/!d;s|.*/[a-z]-*\(.*\).tar.*|\1|;q'
    1.20  }
    1.21  
    1.22  # Rules to configure and make the package.