blob: 10cb9b717985c261f6059ac7b530ce86e5549e05 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Copyright 2013-2019 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 ScanForMatches(Package):
"""scan_for_matches is a utility written in C for locating patterns in DNA
or protein FASTA files."""
homepage = "http://blog.theseed.org/servers/2010/07/scan-for-matches.html"
url = "http://www.theseed.org/servers/downloads/scan_for_matches.tgz"
version('2010-7-16', sha256='c6b17930efbdfbac28b57c3a0b4f8c26effb36c48988d82e41c81c6962e2d68f')
def install(self, spec, prefix):
cc = Executable(self.compiler.cc)
cc('-O', '-o', 'scan_for_matches', 'ggpunit.c', 'scan_for_matches.c')
mkdirp(prefix.bin)
install('scan_for_matches', prefix.bin)
|