wok diff mbedtls/receipt @ rev 25466

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 01 09:32:27 2022 +0000 (20 months ago)
parents 45673422e44e
children 7364ffdaaa60
line diff
     1.1 --- a/mbedtls/receipt	Sat Jul 02 13:44:10 2022 +0000
     1.2 +++ b/mbedtls/receipt	Sat Oct 01 09:32:27 2022 +0000
     1.3 @@ -8,15 +8,17 @@
     1.4  LICENSE="Apache"
     1.5  WEB_SITE="https://www.trustedfirmware.org/projects/mbed-tls/"
     1.6  
     1.7 -TARBALL="$PACKAGE-$VERSION-gpl.tgz"
     1.8 -WGET_URL="https://tls.mbed.org/download/$TARBALL"
     1.9 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10 +WGET_URL="https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/$TARBALL"
    1.11  
    1.12 +# What is the latest version available today?
    1.13  current_version()
    1.14  {
    1.15 -	wget -O - https://github.com/ARMmbed/mbedtls/releases 2>/dev/null | \
    1.16 +	wget -O - https://github.com/Mbed-TLS/mbedtls/releases 2>/dev/null | \
    1.17  	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    1.18  }
    1.19  
    1.20 +# Rules to configure and make the package.
    1.21  compile_rules() {
    1.22  	sed \
    1.23  		-e 's|//\(#define MBEDTLS_THREADING_C\)|\1|' \
    1.24 @@ -29,6 +31,7 @@
    1.25  	make DESTDIR=$install/usr install
    1.26  }
    1.27  
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules() {
    1.30  	mkdir -p $fs/usr/lib/
    1.31  	cp -a $install/usr/bin/      $fs/usr/