wok diff libotr/receipt @ rev 25283

updated roundup (1.6.1 -> 2.2.0)
author Hans-G?nter Theisgen
date Mon Jul 18 15:58:43 2022 +0100 (22 months ago)
parents a74c70f5faaa
children
line diff
     1.1 --- a/libotr/receipt	Fri Apr 12 15:58:11 2019 +0100
     1.2 +++ b/libotr/receipt	Mon Jul 18 15:58:43 2022 +0100
     1.3 @@ -6,7 +6,7 @@
     1.4  SHORT_DESC="Allows you to have private conversations over messenger."
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  LICENSE="GPL2 LGPL2.1"
     1.7 -WEB_SITE="https://www.cypherpunks.ca/otr/"
     1.8 +WEB_SITE="https://otr.cypherpunks.ca/"
     1.9  
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WGET_URL="$WEB_SITE$TARBALL"
    1.12 @@ -14,6 +14,13 @@
    1.13  DEPENDS="libgcrypt libgpg-error"
    1.14  BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev"
    1.15  
    1.16 +# What is the latest version available today?
    1.17 +current_version()
    1.18 +{
    1.19 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    1.20 +	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    1.21 +}
    1.22 +
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {