spack/var/spack/repos/builtin/packages/libbacktrace/package.py
Todd Gamblin 3118647802
Update copyright year to 2024 (#41919)
It was time to run `spack license update-copyright-year` again.
2024-01-02 09:21:30 +01:00

31 lines
1003 B
Python

# 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 Libbacktrace(AutotoolsPackage):
"""A C library that may be linked into a C/C++ program to produce
symbolic backtraces."""
homepage = "https://github.com/ianlancetaylor/libbacktrace"
git = "https://github.com/ianlancetaylor/libbacktrace.git"
maintainers("trahay")
version("master", branch="master")
version("2020-02-19", commit="ca0de0517f3be44fedf5a2c01cfaf6437d4cae68")
variant("shared", default=False, description="Additionally build shared library")
depends_on("autoconf", type="build")
depends_on("automake", type="build")
depends_on("libtool", type="build")
depends_on("m4", type="build")
def configure_args(self):
args = []
args.extend(self.enable_or_disable("shared"))
return args