wok diff borgbackup/receipt @ rev 25611
Add zx0
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 01 18:37:27 2023 +0000 (13 months ago) |
parents | fffb92e609f9 |
children |
line diff
1.1 --- a/borgbackup/receipt Mon Sep 30 11:40:20 2019 +0200 1.2 +++ b/borgbackup/receipt Tue Aug 01 18:37:27 2023 +0000 1.3 @@ -15,6 +15,13 @@ 1.4 BUILD_DEPENDS="py3k-dev py3k-cython openssl-dev py3k-setuptools_scm" 1.5 SUGGESTED="fuse" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - https://www.borgbackup.org/releases/ 2>/dev/null | \ 1.11 + sed '/current release/!d;s|.*release is ||;s|,.*||;q' 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {