wok view rclone/receipt @ rev 25457

Normazile https://sourceforge.net/projects web_sites
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 23 08:28:09 2022 +0000 (20 months ago)
parents 2f230197370e
children
line source
1 # SliTaz package receipt.
3 PACKAGE="rclone"
4 VERSION="1.59.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Command line program to synchronise cloud storage with local folder, and more."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://rclone.org/"
11 TARBALL="$PACKAGE-v${VERSION}-linux-386.zip"
12 WGET_URL="https://downloads.rclone.org/v$VERSION/$TARBALL"
14 DEPENDS="rsync"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/rclone/rclone/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 echo "Precompiled binary..."
27 mkdir -p $install/usr/bin
28 cp $src/rclone $install/usr/bin
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cook_copy_folders bin
35 }