diff options
author | Wouter Deconinck <wdconinc@gmail.com> | 2024-08-26 02:46:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-26 09:46:41 +0200 |
commit | aa49b3d8ce4d24aa251da5515ef8c0273b5bc837 (patch) | |
tree | 6c9b2b0223243fa5f8225a81d2c3fe19b4f95793 | |
parent | eccecba39ac681ebf1f78cd37fe0409f0b966e05 (diff) | |
download | spack-aa49b3d8ce4d24aa251da5515ef8c0273b5bc837.tar.gz spack-aa49b3d8ce4d24aa251da5515ef8c0273b5bc837.tar.bz2 spack-aa49b3d8ce4d24aa251da5515ef8c0273b5bc837.tar.xz spack-aa49b3d8ce4d24aa251da5515ef8c0273b5bc837.zip |
lshw: add v02.20 (#46028)
-rw-r--r-- | var/spack/repos/builtin/packages/lshw/package.py | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/lshw/package.py b/var/spack/repos/builtin/packages/lshw/package.py index 9afc8b4e9a..cff56ccc0e 100644 --- a/var/spack/repos/builtin/packages/lshw/package.py +++ b/var/spack/repos/builtin/packages/lshw/package.py @@ -17,17 +17,21 @@ class Lshw(MakefilePackage): homepage = "https://github.com/lyonel/lshw" url = "https://github.com/lyonel/lshw/archive/B.02.18.tar.gz" + list_url = "https://github.com/lyonel/lshw/tags" - license("GPL-3.0-or-later") + license("GPL-2.0-only", checked_by="wdconinc") + version("02.20", sha256="6b8346a89fb0f0f1798e66f6a707a881d38b9b3a67256b30fc4628dac09f291a") version("02.18", sha256="aa8cb2eebf36e9e46dfc227f24784aa8c87181ec96e57ee6c455da8a0ce4fa77") version("02.17", sha256="0bb76c7df7733dc9b80d5d35f9d9752409ddb506e190453a2cc960461de5ddeb") version("02.16", sha256="58a7731d204791dd33db5eb3fde9808d1235283e069e6c33a193637ccec27b3e") version("02.15", sha256="33c51ba0554d4bcd8ff9a67e5971a63b9ddd58213e2901a09000815376bc61b9") - depends_on("c", type="build") # generated - depends_on("cxx", type="build") # generated + depends_on("c", type="build") + depends_on("cxx", type="build") - def install(self, spec, prefix): - make("install") - install_tree(".", prefix) + def setup_build_environment(self, env): + env.set("PREFIX", self.prefix) + + def setup_run_environment(self, env): + env.prepend_path("PATH", self.prefix.sbin) |