diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-10-11 09:55:58 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-10 20:55:58 -0500 |
commit | ff5d95da951b9ae12368aa9abcb479efa0e48e43 (patch) | |
tree | 5a93fb9a48084c4f3a16d637520651935cec3c56 | |
parent | 3a59057f7465d9982e26b92cddafa0ea9ba48806 (diff) | |
download | spack-ff5d95da951b9ae12368aa9abcb479efa0e48e43.tar.gz spack-ff5d95da951b9ae12368aa9abcb479efa0e48e43.tar.bz2 spack-ff5d95da951b9ae12368aa9abcb479efa0e48e43.tar.xz spack-ff5d95da951b9ae12368aa9abcb479efa0e48e43.zip |
Add new package: backupninja (#18957)
-rw-r--r-- | var/spack/repos/builtin/packages/backupninja/package.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/backupninja/package.py b/var/spack/repos/builtin/packages/backupninja/package.py new file mode 100644 index 0000000000..300070fb24 --- /dev/null +++ b/var/spack/repos/builtin/packages/backupninja/package.py @@ -0,0 +1,25 @@ +# Copyright 2013-2020 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 Backupninja(AutotoolsPackage): + """Backupninja backup tool.""" + + homepage = "https://github.com/lelutin/backupninja" + git = "https://github.com/lelutin/backupninja.git" + + version('master', branch='master') + + depends_on('autoconf', type='build') + depends_on('automake', type='build') + depends_on('libtool', type='build') + depends_on('m4', type='build') + depends_on('bash', type='build') + depends_on('gawk', type='build') + + def setup_run_environment(self, env): + env.prepend_path('PATH', self.prefix.sbin) |