wok diff libmcs/receipt @ rev 24347

Up expat (2.4.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 02 09:41:22 2022 +0000 (2022-02-02)
parents eeba7ab1dffe
children 00e3b45c063b
line diff
     1.1 --- a/libmcs/receipt	Thu Jan 24 18:16:34 2019 +0100
     1.2 +++ b/libmcs/receipt	Wed Feb 02 09:41:22 2022 +0000
     1.3 @@ -7,12 +7,19 @@
     1.4  MAINTAINER="mimas@slitaz.org"
     1.5  LICENSE="BSD"
     1.6  TARBALL="$PACKAGE-$VERSION.tgz"
     1.7 -WEB_SITE="https://github.com/atheme-legacy/libmcs/"
     1.8 +WEB_SITE="https://github.com/atheme-legacy/libmcs"
     1.9  WGET_URL="http://distfiles.atheme.org/$TARBALL"
    1.10  
    1.11  DEPENDS="libmowgli"
    1.12  BUILD_DEPENDS="libmowgli-dev"
    1.13  
    1.14 +# What is the latest version available today?
    1.15 +current_version()
    1.16 +{
    1.17 +	wget -O - $WEB_SITE/tags 2>/dev/null | \
    1.18 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
    1.19 +}
    1.20 +
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {