diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-10-23 15:24:05 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-23 09:24:05 +0200 |
commit | a381b44b75cc156b5f48507f5b42680de1299dd3 (patch) | |
tree | 6f837cc9fae81116bbe8a303ef79b11a615f1a6e /var | |
parent | 98a7cf7654c06f63b0dda510070285b52e07de84 (diff) | |
download | spack-a381b44b75cc156b5f48507f5b42680de1299dd3.tar.gz spack-a381b44b75cc156b5f48507f5b42680de1299dd3.tar.bz2 spack-a381b44b75cc156b5f48507f5b42680de1299dd3.tar.xz spack-a381b44b75cc156b5f48507f5b42680de1299dd3.zip |
openipmi: added new package at v2.0.28 (#18790)
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/openipmi/package.py | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/openipmi/package.py b/var/spack/repos/builtin/packages/openipmi/package.py new file mode 100644 index 0000000000..894897e9e7 --- /dev/null +++ b/var/spack/repos/builtin/packages/openipmi/package.py @@ -0,0 +1,30 @@ +# 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 Openipmi(AutotoolsPackage): + """The Open IPMI project aims to develop an open code base + to allow access to platform information using Intelligent + Platform Management Interface (IPMI).""" + + homepage = "https://sourceforge.net/projects/openipmi/" + url = "https://sourceforge.net/projects/openipmi/files/OpenIPMI%202.0%20Library/OpenIPMI-2.0.29.tar.gz" + + version('2.0.28', sha256='8e8b1de2a9a041b419133ecb21f956e999841cf2e759e973eeba9a36f8b40996') + version('2.0.27', sha256='f3b1fafaaec2e2bac32fec5a86941ad8b8cb64543470bd6d819d7b166713d20b') + + depends_on('popt') + depends_on('python') + depends_on('termcap') + depends_on('ncurses') + + def configure_args(self): + args = ['LIBS=' + self.spec['ncurses'].libs.link_flags] + return args + + def install(self, spec, prefix): + make('install', parallel=False) |