Libwhich: which for libraries. (#22461)
Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
This commit is contained in:
parent
feb6f85af7
commit
f7a880f868
27
var/spack/repos/builtin/packages/libwhich/package.py
Normal file
27
var/spack/repos/builtin/packages/libwhich/package.py
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user