wok-current diff glade3/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 | c223f38b1f12 |
children |
line diff
1.1 --- a/glade3/receipt Mon Feb 17 14:01:47 2020 +0100 1.2 +++ b/glade3/receipt Tue Apr 05 09:06:43 2022 +0000 1.3 @@ -16,6 +16,12 @@ 1.4 BUILD_DEPENDS="expat-dev gtk+-dev intltool itstool libgnome 1.5 libxml2-dev python" 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 compile_rules() 1.15 {