wok diff eaccelerator/receipt @ rev 24986

Up nettle 3.7.3 again, need glib-networking rebuild to no break midori
author Stanislas Leduc <shann@slitaz.org>
date Wed May 11 08:28:28 2022 -0400 (2022-05-11)
parents 9bbac86a37f7
children 22471cbea549
line diff
     1.1 --- a/eaccelerator/receipt	Fri Jan 14 17:35:36 2022 +0000
     1.2 +++ b/eaccelerator/receipt	Wed May 11 08:28:28 2022 -0400
     1.3 @@ -14,10 +14,12 @@
     1.4  DEPENDS="php m4"
     1.5  BUILD_DEPENDS="php-dev sed coreutils-conditions"	# gawk re2c
     1.6  
     1.7 +# What is the latest version available today?
     1.8  current_version()
     1.9  {
    1.10 -	wget -O - https://github.com/eaccelerator/eaccelerator/tags 2>/dev/null | \
    1.11 -	sed '/refs.tags/!d;/-rc/d;/tar.gz/!d;s|.*refs.tags.v*\(.*\).tar.*|\1|;q'
    1.12 +	wget -O - https://sourceforge.net/projects/eaccelerator/files/eaccelerator/ 2>/dev/null | \
    1.13 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    1.14 +	sed '/scope="row/!d;/tar/!d;/binary/d;s|.*/eAccelerator%20||;s|/.*||;q'
    1.15  }
    1.16  
    1.17  # Rules to configure and make the package.