diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-09-25 00:51:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-24 11:51:29 -0500 |
commit | 8aa06154dc9396f5151468f6ddb097813faaa766 (patch) | |
tree | ef6c2b5220d0dbca95534b87773acc75a9274d82 /var | |
parent | c5f5b7273d9256566602eeb66ff06794f86d307b (diff) | |
download | spack-8aa06154dc9396f5151468f6ddb097813faaa766.tar.gz spack-8aa06154dc9396f5151468f6ddb097813faaa766.tar.bz2 spack-8aa06154dc9396f5151468f6ddb097813faaa766.tar.xz spack-8aa06154dc9396f5151468f6ddb097813faaa766.zip |
Add new package: dcap (#18910)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/dcap/package.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/dcap/package.py b/var/spack/repos/builtin/packages/dcap/package.py new file mode 100644 index 0000000000..487c02fade --- /dev/null +++ b/var/spack/repos/builtin/packages/dcap/package.py @@ -0,0 +1,24 @@ +# 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 Dcap(AutotoolsPackage): + """dCache access protocol client library.""" + + homepage = "https://github.com/dCache/dcap" + url = "https://github.com/dCache/dcap/archive/2.47.12.tar.gz" + + version('2.47.12', sha256='050a8d20c241abf358d5d72586f9abc43940e61d9ec9480040ac7da52ec804ac') + + depends_on('autoconf', type='build') + depends_on('automake', type='build') + depends_on('libtool', type='build') + depends_on('m4', type='build') + + def autoreconf(self, spec, prefix): + bash = which('bash') + bash('./bootstrap.sh') |