wok diff eigen/receipt @ rev 25688

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 12 10:06:53 2024 +0000 (6 weeks ago)
parents ff9ccba72fd2
children
line diff
     1.1 --- a/eigen/receipt	Mon Feb 21 09:33:38 2022 +0100
     1.2 +++ b/eigen/receipt	Fri Apr 12 10:06:53 2024 +0000
     1.3 @@ -6,7 +6,7 @@
     1.4  SHORT_DESC="A C++ template library for linear algebra."
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  LICENSE="MPL2 LGPL BSD"
     1.7 -WEB_SITE="https://eigen.tuxfamily.org/"
     1.8 +WEB_SITE="https://gitlab.com/libeigen/eigen"
     1.9  
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WGET_URL="https://gitlab.com/libeigen/$PACKAGE/-/archive/$VERSION/$TARBALL"
    1.12 @@ -17,8 +17,8 @@
    1.13  # What is the latest version available today?
    1.14  current_version()
    1.15  {
    1.16 -	wget -O - $WEB_SITE 2>/dev/null | \
    1.17 -	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
    1.18 +	wget -O - 'https://gitlab.com/libeigen/eigen/-/tags?sort=updated_desc' 2>/dev/null | \
    1.19 +	sed '/\/tags\//!d;s|.*">||;s|<.*||;q'
    1.20  }
    1.21  
    1.22  # Rules to configure and make the package.