diff options
author | Eric Martin <erimar77@users.noreply.github.com> | 2019-03-08 20:57:00 -0600 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2019-03-08 20:57:00 -0600 |
commit | 43b45f4140ed0c160667fef91a318cb2cdcce8ca (patch) | |
tree | 8f644346d13309172a38068a0135ace31914fa8e | |
parent | c81e68030a5a5c0fb62bb2c3ba271441ed33a6a8 (diff) | |
download | spack-43b45f4140ed0c160667fef91a318cb2cdcce8ca.tar.gz spack-43b45f4140ed0c160667fef91a318cb2cdcce8ca.tar.bz2 spack-43b45f4140ed0c160667fef91a318cb2cdcce8ca.tar.xz spack-43b45f4140ed0c160667fef91a318cb2cdcce8ca.zip |
breseq package: Add version 0.33.2 and zlib dependency (#10747)
For zlib, also update the `CFLAGS`/`LDFLAGS`
-rw-r--r-- | var/spack/repos/builtin/packages/breseq/package.py | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/breseq/package.py b/var/spack/repos/builtin/packages/breseq/package.py index adc758fd27..b979f724cc 100644 --- a/var/spack/repos/builtin/packages/breseq/package.py +++ b/var/spack/repos/builtin/packages/breseq/package.py @@ -7,13 +7,14 @@ from spack import * class Breseq(AutotoolsPackage): - """breseq is a computational pipeline for finding mutations relative to a - reference sequence in short-read DNA re-sequencing data for haploid + """breseq is a computational pipeline for finding mutations relative to + a reference sequence in short-read DNA re-sequencing data for haploid microbial-sized genomes.""" homepage = "http://barricklab.org/breseq" url = "https://github.com/barricklab/breseq/archive/v0.31.1.tar.gz" + version('0.33.2', sha256='c698d2d25cc7ed251ff916343a8c04f79b5540281288cb7c955f458255ac21de') version('0.33.1', sha256='e24a50e254ad026c519747313b9e42bbeb32bd766a6a06ed369bd5b9dc50e84d') version('0.31.1', 'a4e602d5481f8692833ba3d5a3cd0394') @@ -21,6 +22,13 @@ class Breseq(AutotoolsPackage): depends_on('automake', type='build') depends_on('libtool', type='build') depends_on('m4', type='build') + depends_on('zlib', type='build') depends_on('bedtools2', type='run') depends_on('r', type='run') + + def setup_environment(self, spack_env, run_env): + spack_env.set('LDFLAGS', + "-L{0}".format(self.spec['zlib'].prefix.lib)) + spack_env.set('CFLAGS', + "-I{0}".format(self.spec['zlib'].prefix.include)) |