spack/var/spack/repos/builtin/packages/samtools/package.py
Todd Gamblin 89d5127900 New, cleaner package repository structure.
Package repositories now look like this:

    top-level-dir/
        repo.yaml
        packages/
            libelf/
                package.py
            mpich/
                package.py
            ...

This leaves room at the top level for additional metadata, source,
per-repo configs, indexes, etc., and it makes it easy to see that
something is a spack repo (just look for repo.yaml and packages).
2015-11-26 14:19:27 -08:00

19 lines
606 B
Python

from spack import *
class Samtools(Package):
"""SAM Tools provide various utilities for manipulating alignments in the SAM format,
including sorting, merging, indexing and generating
alignments in a per-position format"""
homepage = "www.htslib.org"
version('1.2','988ec4c3058a6ceda36503eebecd4122',url = "https://github.com/samtools/samtools/releases/download/1.2/samtools-1.2.tar.bz2")
depends_on("zlib")
depends_on("mpc")
parallel=False
patch("samtools1.2.patch",level=0)
def install(self, spec, prefix):
make("prefix=%s" % prefix, "install")