blob: 37ec3fc115ed3ff78af495b7a884679d893029bc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Copyright 2013-2024 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.package 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")
license("MIT")
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)
|