wok-current annotate rclone/receipt @ rev 24968
gnutls: disabled GOST support
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 26 13:11:21 2022 +0100 (2022-04-26) |
parents | fd017bb1655d |
children | 7f67128400da |
rev | line source |
---|---|
pankso@19682 | 1 # SliTaz package receipt. |
pankso@19682 | 2 |
pankso@19682 | 3 PACKAGE="rclone" |
Hans-G?nter@23609 | 4 VERSION="1.51.0" |
pankso@19682 | 5 CATEGORY="system-tools" |
Hans-G?nter@23609 | 6 SHORT_DESC="Command line program to synchronise cloud storage with local folder, and more." |
pankso@19682 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@19682 | 8 LICENSE="BSD" |
Hans-G?nter@21832 | 9 WEB_SITE="https://rclone.org/" |
Hans-G?nter@21832 | 10 |
pankso@19682 | 11 TARBALL="$PACKAGE-v${VERSION}-linux-386.zip" |
llevrel@20639 | 12 WGET_URL="https://downloads.rclone.org/v$VERSION/$TARBALL" |
pankso@19682 | 13 |
pankso@19682 | 14 DEPENDS="rsync" |
pankso@19682 | 15 |
pascal@24459 | 16 # What is the latest version available today? |
pascal@24459 | 17 current_version() |
pascal@24459 | 18 { |
pascal@24459 | 19 wget -O - https://github.com/rclone/rclone/releases 2>/dev/null | \ |
pascal@24459 | 20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24459 | 21 } |
pascal@24459 | 22 |
pankso@19682 | 23 # Rules to configure and make the package. |
pankso@19682 | 24 compile_rules() |
pankso@19682 | 25 { |
pascal@20319 | 26 echo "Precompiled binary..." |
pankso@19682 | 27 mkdir -p $install/usr/bin |
Hans-G?nter@23609 | 28 cp $src/rclone $install/usr/bin |
pankso@19682 | 29 } |
pankso@19682 | 30 |
pankso@19682 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@19682 | 32 genpkg_rules() |
pankso@19682 | 33 { |
pankso@19682 | 34 mkdir -p $fs/usr |
Hans-G?nter@23609 | 35 cp -a $install/usr/bin $fs/usr |
pankso@19682 | 36 } |