wok diff pangox-compat/receipt @ rev 24950
updated nagios-plugins and nagios-plugins-mysql (2.3.3 -> 2.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 10:03:51 2022 +0100 (2022-04-23) |
parents | 86790a278e70 |
children |
line diff
1.1 --- a/pangox-compat/receipt Tue Aug 07 23:03:21 2018 +0200 1.2 +++ b/pangox-compat/receipt Sat Apr 23 10:03:51 2022 +0100 1.3 @@ -13,6 +13,12 @@ 1.4 DEPENDS="glib glibc-base libffi pango pcre xorg-libX11" 1.5 BUILD_DEPENDS="pango-dev glib-dev xorg-libX11-dev" 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 {