diff options
author | Ben Bergen <bergen@lanl.gov> | 2019-07-29 18:19:53 -0600 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2019-07-29 17:19:53 -0700 |
commit | 73a9d6556ef0a1f0195ac36f5fcb56c785553717 (patch) | |
tree | 4a4ab0ac2175a264b994730e229675d328110f76 | |
parent | 6db873532cc579e86700f49514d2bb5f360a9b0c (diff) | |
download | spack-73a9d6556ef0a1f0195ac36f5fcb56c785553717.tar.gz spack-73a9d6556ef0a1f0195ac36f5fcb56c785553717.tar.bz2 spack-73a9d6556ef0a1f0195ac36f5fcb56c785553717.tar.xz spack-73a9d6556ef0a1f0195ac36f5fcb56c785553717.zip |
New package: cgdb (#12154)
-rw-r--r-- | var/spack/repos/builtin/packages/cgdb/package.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cgdb/package.py b/var/spack/repos/builtin/packages/cgdb/package.py new file mode 100644 index 0000000000..6eadbf547a --- /dev/null +++ b/var/spack/repos/builtin/packages/cgdb/package.py @@ -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) + ] |