diff options
author | Vanessasaurus <814322+vsoch@users.noreply.github.com> | 2021-03-23 23:59:34 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-23 22:59:34 -0700 |
commit | c41c7ce63832e4106512c879e5b26982cf8358da (patch) | |
tree | b6c9e4171eb037fc323bb5ed05ae7ca4dca691ee /var | |
parent | 95ad5b882c990971e74d04261a665ba680f7c4be (diff) | |
download | spack-c41c7ce63832e4106512c879e5b26982cf8358da.tar.gz spack-c41c7ce63832e4106512c879e5b26982cf8358da.tar.bz2 spack-c41c7ce63832e4106512c879e5b26982cf8358da.tar.xz spack-c41c7ce63832e4106512c879e5b26982cf8358da.zip |
adding debugedit package. (#22458)
This package used to be a part of rpm, but now is being developed separately.
It will supposedly be moved to a sourceware branch (it is maintained by
redhat) but I do not know if this will happen soon. We need it in order
to change locations in binaries that are built in /tmp and then moved
elsewhere. I will ping @woodard who might be able to give us an estimate
if we should include this development repository or wait for it to be
moved elsewhere. Once this is merged, we will want to use the bootstrap
approach to install and use the library from spack.
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/debugedit/package.py | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/debugedit/package.py b/var/spack/repos/builtin/packages/debugedit/package.py new file mode 100644 index 0000000000..c677eb1242 --- /dev/null +++ b/var/spack/repos/builtin/packages/debugedit/package.py @@ -0,0 +1,32 @@ +# 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 Debugedit(AutotoolsPackage): + """ + Debugedit was originally part of the rpm project, and is currently + being refactored to be provided outside of it. This source will + eventually be moved to sourceware or similar, as it is being maintained + by RedHat. + """ + + homepage = "https://code.wildebeest.org/git/user/mjw/debugedit" + git = "git://code.wildebeest.org/user/mjw/debugedit" + + version('develop', branch='main') + + depends_on('pkgconfig', type='build') + depends_on('autoconf', type='build') + depends_on('automake', type='build') + depends_on('libtool', type='build') + depends_on('elfutils') # requires libdw + depends_on('libiberty') + + def build(self, spec, prefix): + # requires libiberty + libiberty = spec['libiberty'].prefix.include.libiberty + make('CPPFLAGS=-I%s' % libiberty) |