wok-current view rclone/receipt @ rev 25362
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 28 07:24:59 2022 +0000 (2022-07-28) |
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 }