blob: ae8a1d2c26e92fc57226d4f26d46a9524cb32fb6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class Rclone(Package):
"""Rclone is a command line program to sync files and directories
to and from various cloud storage providers"""
homepage = "http://rclone.org"
url = "https://github.com/ncw/rclone/releases/download/v1.43/rclone-v1.43.tar.gz"
version('1.43', sha256='d30527b00cecb4e5e7188dddb78e5cec62d67cf2422dab82190db58512b5a4e3')
depends_on("go", type='build')
def install(self, spec, prefix):
go('build')
mkdirp(prefix.bin)
install('rclone', prefix.bin)
|