spack/var/spack/repos/builtin/packages/libefence/package.py
Aiden Grossman 19c20563cc Initial License Checkin
This patch adds license information for about 5,300 packages from automated sources.
The license information was obtained from Alpine Linux and PyPI and processed
using tooling available in https://github.com/boomanaiden154/spack-license-utils.
The license field was added in after all other directives in an automated fashion.

Note that while this license information is probably fairly accurate, it is not
guaranteed to be accurate. In addition some of the license strings from Alpine Linux
might not be valid SPDX license strings. Invalid SPDX identifiers can be picked up
and fixed once we have validation/parsing infrastructure in place for the solver,
and issues can be fixed as they come up.
2023-12-27 11:20:45 -08:00

35 lines
1.2 KiB
Python

# 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 Libefence(MakefilePackage):
"""Electric Fence (or eFence) is a memory debugger written by Bruce Perens.
It consists of a library which programmers can link into their code to override
the C standard library memory management functions. eFence triggers a program
crash when the memory error occurs, so a debugger can be used to inspect the
code that caused the error."""
homepage = "https://packages.debian.org/unstable/electric-fence"
url = "https://deb.debian.org/debian/pool/main/e/electric-fence/electric-fence_2.2.6.tar.gz"
maintainers("cessenat")
license("GPL-2.0-or-later")
version("2.2.6", sha256="a949e0dedb06cbcd444566cce1457223f2c41abd3513f21663f30f19ccc48e24")
def build(self, spec, prefix):
make()
def install(self, spec, prefix):
make(
"install",
"LIB_INSTALL_DIR=" + prefix.lib,
"MAN_INSTALL_DIR=" + prefix.man.man3,
parallel=False,
)