summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/libwhich/package.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libwhich/package.py b/var/spack/repos/builtin/packages/libwhich/package.py
new file mode 100644
index 0000000000..44efd471c2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libwhich/package.py
@@ -0,0 +1,27 @@
+# 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 Libwhich(Package):
+ """
+ Libwhich: the functionality of which for libraries.
+ """
+
+ homepage = "https://github.com/vtjnash/libwhich"
+ url = "https://github.com/vtjnash/libwhich/archive/refs/tags/v1.1.0.tar.gz"
+ git = "https://github.com/vtjnash/libwhich.git"
+
+ maintainers = ['dmageeLANL']
+
+ version('master', branch='master')
+ version('1.1.0', sha256='f1c30bf7396859ad437a5db74e9e328fb4b4e1379457121e28a3524b1e3a0b3f')
+ version('1.0.0', sha256='61d5d643d4cbd4b340b9b48922e1b4fd2a35729b7cfdcc7283aab82a6f742a6c')
+
+ def install(self, spec, prefix):
+ make()
+ mkdir(prefix.bin)
+ install('libwhich', prefix.bin)