samtools: add version 1.6 + some fixes (#5715)

* htslib: add version 1.6

* samtools: add version 1.6, remove zlib dependency

* bcftools: add version 1.6, switch to using standalone htslib
This commit is contained in:
Carlos Bederián
2017-10-12 13:08:31 -03:00
committed by Christoph Junghans
parent 87c65fafa9
commit db149876a4
3 changed files with 11 additions and 9 deletions

View File

@@ -34,13 +34,13 @@ class Bcftools(Package):
homepage = "http://samtools.github.io/bcftools/"
url = "https://github.com/samtools/bcftools/releases/download/1.3.1/bcftools-1.3.1.tar.bz2"
version('1.6', 'c4dba1e8cb55db0f94b4c47724b4f9fa')
version('1.4', '50ccf0a073bd70e99cdb3c8be830416e')
version('1.3.1', '575001e9fca37cab0c7a7287ad4b1cdb')
depends_on('zlib')
depends_on('bzip2', when="@1.4:")
# build fails without xz
depends_on('xz', when="@1.4")
depends_on('htslib@1.6', when='@1.6')
depends_on('htslib@1.4', when='@1.4')
depends_on('htslib@1.3.1', when='@1.3.1')
def install(self, spec, prefix):
make("prefix=%s" % prefix, "all")