wok diff pari/receipt @ rev 25045

Update some wget_url or web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 04 08:33:59 2022 +0000 (2022-06-04)
parents e717a4953b0e
children 021e72976497
line diff
     1.1 --- a/pari/receipt	Mon May 02 16:22:04 2022 +0000
     1.2 +++ b/pari/receipt	Sat Jun 04 08:33:59 2022 +0000
     1.3 @@ -9,7 +9,7 @@
     1.4  WEB_SITE="https://pari.math.u-bordeaux.fr/"
     1.5  
     1.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.7 -WGET_URL="https://pari.math.u-bordeaux.fr/pub/$PACKAGE/unix/$TARBALL"
     1.8 +WGET_URL="${WEB_SITE}pub/$PACKAGE/OLD/${VERSION%.*}/$TARBALL"
     1.9  
    1.10  DEPENDS="glibc-base gmp libxcb ncurses readline xorg-libX11 xorg-libXau \
    1.11  	xorg-libXdmcp"
    1.12 @@ -18,7 +18,7 @@
    1.13  # What is the latest version available today?
    1.14  current_version()
    1.15  {
    1.16 -	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
    1.17 +	wget -O - ${WEB_SITE}pub/$PACKAGE/unix/ 2>/dev/null | \
    1.18  	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
    1.19  }
    1.20