wok diff yarock/receipt @ rev 25769

libmaxminddb, ndpi: add current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 06 09:45:40 2024 +0000 (2 months ago)
parents 5b6c86ca3faa
children
line diff
     1.1 --- a/yarock/receipt	Sat Oct 19 10:25:12 2019 +0200
     1.2 +++ b/yarock/receipt	Fri Sep 06 09:45:40 2024 +0000
     1.3 @@ -21,6 +21,13 @@
     1.4  BUILD_DEPENDS="cmake Qt4-dev qmake phonon-dev taglib-dev pkg-config qjson-dev \
     1.5  xorg-libX11 xorg-libXext xorg-libX11-dev wget"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - $WEB_SITE 2>/dev/null | \
    1.11 +	sed '/Latest version/!d;s|.*is ||;s|.tar.*||;q'
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {