wok diff dotconf/receipt @ rev 25181

Up perl-log-log4perl (1.55)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 09 08:28:32 2022 +0000 (2022-07-09)
parents d443265acbc1
children 01119cbefbc3
line diff
     1.1 --- a/dotconf/receipt	Tue Apr 14 16:56:01 2020 +0000
     1.2 +++ b/dotconf/receipt	Sat Jul 09 08:28:32 2022 +0000
     1.3 @@ -6,7 +6,7 @@
     1.4  SHORT_DESC="Configuration file parser library."
     1.5  MAINTAINER="paul@slitaz.org"
     1.6  LICENSE="LGPL2.1"
     1.7 -WEB_SITE="https://github.com/williamh/dotconf/"
     1.8 +WEB_SITE="https://github.com/williamh/dotconf"
     1.9  
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WGET_URL="$[WEB_SITE}archive/v${VERSION%}/$TARBALL"
    1.12 @@ -14,6 +14,13 @@
    1.13  DEPENDS=""
    1.14  BUILD_DEPENDS="libtool"
    1.15  
    1.16 +# What is the latest version available today?
    1.17 +current_version()
    1.18 +{
    1.19 +	wget -O - $WEB_SITE/tags 2>/dev/null | \
    1.20 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
    1.21 +}
    1.22 +
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {