wok-current diff gob2/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 | c592287b8ce7 |
children |
line diff
1.1 --- a/gob2/receipt Wed Mar 06 17:39:40 2019 +0100 1.2 +++ b/gob2/receipt Tue Apr 05 09:06:43 2022 +0000 1.3 @@ -15,8 +15,13 @@ 1.4 BUILD_DEPENDS="flex glib-dev" 1.5 HOST_ARCH="i486 arm" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ 1.10 + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 - 1.15 compile_rules() 1.16 { 1.17 ./configure $CONFIGURE_ARGS &&