New package: cgdb (#12154)

This commit is contained in:
Ben Bergen 2019-07-29 18:19:53 -06:00 committed by Peter Scheibel
parent 6db873532c
commit 73a9d6556e

View File

@ -0,0 +1,27 @@
# Copyright 2013-2019 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 Cgdb(AutotoolsPackage):
"""A curses front-end to GDB"""
homepage = "https://cgdb.github.io"
url = "https://cgdb.me/files/cgdb-0.7.0.tar.gz"
version('0.7.0', sha256='bf7a9264668db3f9342591b08b2cc3bbb08e235ba2372877b4650b70c6fb5423')
# Required dependency
depends_on('ncurses')
depends_on('readline')
def configure_args(self):
spec = self.spec
return [
'--with-ncurses={0}'.format(spec['ncurses'].prefix),
'--with-readline={0}'.format(spec['readline'].prefix)
]