diff options
author | darmac <darmac@163.com> | 2019-11-30 15:13:23 +0800 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-11-30 01:13:23 -0600 |
commit | 46617b6f122e58cdfe94ceec4a6b48ca1a4645b6 (patch) | |
tree | dd6634d2781e8e59c044a7feb8d0fe3dd396b094 | |
parent | 94c8bf032255c73721adc823796abe6e2f739499 (diff) | |
download | spack-46617b6f122e58cdfe94ceec4a6b48ca1a4645b6.tar.gz spack-46617b6f122e58cdfe94ceec4a6b48ca1a4645b6.tar.bz2 spack-46617b6f122e58cdfe94ceec4a6b48ca1a4645b6.tar.xz spack-46617b6f122e58cdfe94ceec4a6b48ca1a4645b6.zip |
add new package : lshw (#13933)
* add new package : lshw
* update lshw package
* remove build methord
-rw-r--r-- | var/spack/repos/builtin/packages/lshw/package.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/lshw/package.py b/var/spack/repos/builtin/packages/lshw/package.py new file mode 100644 index 0000000000..8e938542a5 --- /dev/null +++ b/var/spack/repos/builtin/packages/lshw/package.py @@ -0,0 +1,28 @@ +# Copyright 2013-2019 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 Lshw(MakefilePackage): + """ + lshw is a small tool to provide detailed information on the + hardware configuration of the machine. It can report exact memory + configuration, firmware version, mainboard configuration, CPU version + and speed, cache configuration, bus speed, etc. on DMI-capable x86 or + EFI (IA-64) systems and on some ARM and PowerPC machines. + """ + + homepage = "https://github.com/lyonel/lshw" + url = "https://github.com/lyonel/lshw/archive/B.02.18.tar.gz" + + version('02.18', sha256='aa8cb2eebf36e9e46dfc227f24784aa8c87181ec96e57ee6c455da8a0ce4fa77') + version('02.17', sha256='0bb76c7df7733dc9b80d5d35f9d9752409ddb506e190453a2cc960461de5ddeb') + version('02.16', sha256='58a7731d204791dd33db5eb3fde9808d1235283e069e6c33a193637ccec27b3e') + version('02.15', sha256='33c51ba0554d4bcd8ff9a67e5971a63b9ddd58213e2901a09000815376bc61b9') + + def install(self, spec, prefix): + make('install') + install_tree('.', prefix) |