
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).
19 lines
606 B
Python
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")
|
|
|