wok view rclone/receipt @ rev 25108

Fix open-iscsi
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 23 20:48:12 2022 +0000 (2022-06-23)
parents fd017bb1655d
children 7f67128400da
line source
1 # SliTaz package receipt.
3 PACKAGE="rclone"
4 VERSION="1.51.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 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 }