wok annotate rclone/receipt @ rev 25624
Add opendkim
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 08 16:45:57 2023 +0000 (12 months ago) |
parents | 2f230197370e |
children |
rev | line source |
---|---|
pankso@19682 | 1 # SliTaz package receipt. |
pankso@19682 | 2 |
pankso@19682 | 3 PACKAGE="rclone" |
Hans-G?nter@25262 | 4 VERSION="1.59.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 { |
Hans-G?nter@25262 | 34 cook_copy_folders bin |
pankso@19682 | 35 } |