spack/var/spack/repos/builtin/packages/graphmap/package.py

27 lines
794 B
Python

# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class Graphmap(MakefilePackage):
"""A highly sensitive and accurate mapper for long, error-prone reads"""
homepage = "https://github.com/isovic/graphmap"
git = "https://github.com/isovic/graphmap.git"
version('0.3.0', commit='eb8c75d68b03be95464318afa69b645a59f8f6b7')
depends_on('zlib', type='link')
def edit(self, spec, prefix):
mkdirp(prefix.bin)
makefile = FileFilter('Makefile')
makefile.filter('/usr/bin/graphmap', prefix.bin.graphmap)
def build(self, spec, prefix):
make('modules')
make()