wok-current diff eaccelerator/receipt @ rev 24890
trafshow: libpcap 1.10 has its own pcap_init
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 05 09:06:43 2022 +0000 (2022-04-05) |
parents | 9bbac86a37f7 |
children | 22471cbea549 |
line diff
1.1 --- a/eaccelerator/receipt Fri Jan 14 17:35:36 2022 +0000 1.2 +++ b/eaccelerator/receipt Tue Apr 05 09:06:43 2022 +0000 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.