wok diff paulstretch/receipt @ rev 25611

Add zx0
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 01 18:37:27 2023 +0000 (14 months ago)
parents b0069c845544
children 24024e28a27b
line diff
     1.1 --- a/paulstretch/receipt	Fri Oct 07 09:15:33 2022 +0000
     1.2 +++ b/paulstretch/receipt	Tue Aug 01 18:37:27 2023 +0000
     1.3 @@ -14,10 +14,11 @@
     1.4  BUILD_DEPENDS="fltk-dev libvorbis-dev audiofile-dev portaudio-dev libmad-dev \
     1.5  fftw-dev xorg-dev mxml-dev zlib-dev"
     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/hypermammut/files/$PACKAGE 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|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
    1.13  	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
    1.14  }
    1.15