diff options
-rw-r--r-- | var/spack/repos/builtin/packages/hw-probe/package.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hw-probe/package.py b/var/spack/repos/builtin/packages/hw-probe/package.py new file mode 100644 index 0000000000..3b82850f18 --- /dev/null +++ b/var/spack/repos/builtin/packages/hw-probe/package.py @@ -0,0 +1,20 @@ +# Copyright 2013-2021 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 HwProbe(MakefilePackage): + """Hardware Probe Tool (hw-probe).""" + + homepage = "https://github.com/linuxhw/hw-probe" + url = "https://github.com/linuxhw/hw-probe/archive/1.5.tar.gz" + + version('1.5', sha256='8bb7d6ff272c1412e26fcfd86e9df5c3e34e1584552404b930c281b8498b25ea') + version('1.4', sha256='90f3ea83bf641348b209e4a2a910f65d836ae7828c0be0f660236ea413bc46bb') + version('1.3', sha256='820ada4f16cb827e0990eb918e75423845fef54a863fdd88aa5bd23127354229') + + def install(self, spec, prefix): + make('install', 'prefix={0}'.format(prefix)) |