wok diff zfs-fuse/receipt @ rev 24506

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 20 14:41:23 2022 +0000 (2022-02-20)
parents 6dc00c39f773
children 72f2704d3ae0
line diff
     1.1 --- a/zfs-fuse/receipt	Sat Apr 06 14:55:40 2019 +0200
     1.2 +++ b/zfs-fuse/receipt	Sun Feb 20 14:41:23 2022 +0000
     1.3 @@ -6,15 +6,22 @@
     1.4  SHORT_DESC="ZFS file system from Sun."
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  LICENSE="CDDL"
     1.7 -WEB_SITE="http://zfs-fuse.net"
     1.8 +WEB_SITE="https://web.archive.org/web/20120314224050if_/http://zfs-fuse.net"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.10 -ARCHIVE="https://web.archive.org/web/20120314224050if_/"
    1.11 -WGET_URL="$ARCHIVE$WEB_SITE/releases/$VERSION/$TARBALL"
    1.12 +WGET_URL="$WEB_SITE/releases/$VERSION/$TARBALL"
    1.13  
    1.14  DEPENDS="fuse libaio libcrypto perl"
    1.15  BUILD_DEPENDS="fuse-dev scons libaio-dev attr-dev zlib-dev acl-dev openssl-dev \
    1.16  file"
    1.17  
    1.18 +# What is the latest version available today?
    1.19 +current_version()
    1.20 +{
    1.21 +	wget -O - https://github.com/gordan-bobic/zfs-fuse/releases 2>/dev/null | \
    1.22 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
    1.23 +}
    1.24 +
    1.25 +
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {