summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMelven Roehrig-Zoellner <Melven.Roehrig-Zoellner@DLR.de>2021-09-27 20:16:55 +0200
committerGitHub <noreply@github.com>2021-09-27 11:16:55 -0700
commit6b2192ef96e935195af795dc5f1feba5aba92290 (patch)
tree3c0335e31a645d57234c60a00c7b8550522a67a5 /var
parent5130f43eb369f0ef6e2be16233e4edbbcf3fa73a (diff)
downloadspack-6b2192ef96e935195af795dc5f1feba5aba92290.tar.gz
spack-6b2192ef96e935195af795dc5f1feba5aba92290.tar.bz2
spack-6b2192ef96e935195af795dc5f1feba5aba92290.tar.xz
spack-6b2192ef96e935195af795dc5f1feba5aba92290.zip
source-highlight: allow to build the git master branch (#25947)
Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/source-highlight/package.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/source-highlight/package.py b/var/spack/repos/builtin/packages/source-highlight/package.py
index addb69cfed..cefbfe768b 100644
--- a/var/spack/repos/builtin/packages/source-highlight/package.py
+++ b/var/spack/repos/builtin/packages/source-highlight/package.py
@@ -14,12 +14,21 @@ class SourceHighlight(AutotoolsPackage, GNUMirrorPackage):
homepage = "https://www.gnu.org/software/src-highlite/"
gnu_mirror_path = "src-highlite/source-highlight-3.1.8.tar.gz"
+ git = "https://git.savannah.gnu.org/cgit/src-highlite.git"
+ version('master', branch='master')
version('3.1.9', sha256='3a7fd28378cb5416f8de2c9e77196ec915145d44e30ff4e0ee8beb3fe6211c91')
version('3.1.8', sha256='01336a7ea1d1ccc374201f7b81ffa94d0aecb33afc7d6903ebf9fbf33a55ada3')
depends_on('boost')
+ # git version needs autotools
+ depends_on('m4', when='@master')
+ depends_on('autoconf', when='@master')
+ depends_on('automake', when='@master')
+ depends_on('libtool', when='@master')
+ depends_on('texinfo', when='@master')
+
def configure_args(self):
args = ["--with-boost={0}".format(self.spec['boost'].prefix)]
return args