Add new package: backupninja (#18957)
This commit is contained in:
parent
3a59057f74
commit
ff5d95da95
25
var/spack/repos/builtin/packages/backupninja/package.py
Normal file
25
var/spack/repos/builtin/packages/backupninja/package.py
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user