[srcml-identifier-getter-tool] New package (#35763)
* [srcml-identifier-getter-tool] New package * [srcml-identifier-getter-tool] formatting
This commit is contained in:
parent
3984a1e159
commit
9787253842
1 changed files with 26 additions and 0 deletions
|
@ -0,0 +1,26 @@
|
|||
# Copyright 2013-2023 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 SrcmlIdentifierGetterTool(CMakePackage):
|
||||
"""SCANL's srcml_identifier_getter_tool. reads a srcML
|
||||
archive and outputs all identifiers in that archive through
|
||||
standard out."""
|
||||
|
||||
homepage = "https://github.com/SCANL/srcml_identifier_getter_tool"
|
||||
git = "https://github.com/SCANL/srcml_identifier_getter_tool.git"
|
||||
|
||||
version("2022-10-17", commit="01394c247ae6f61cc5864a9697e72e3623d8e7fb", submodules=True)
|
||||
|
||||
depends_on("libxml2")
|
||||
depends_on("zlib")
|
||||
depends_on("lzma")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
super(SrcmlIdentifierGetterTool, self).install(spec, prefix)
|
||||
mkdir(prefix.bin)
|
||||
install(join_path(self.build_directory, "bin", "grabidentifiers"), prefix.bin)
|
Loading…
Reference in a new issue