blob: 31862b27b24d7117439685b4cafed501677de1ff (
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-2023 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.package import *
class ScanForMatches(Package):
"""scan_for_matches is a utility written in C for locating patterns in DNA
or protein FASTA files."""
homepage = "https://blog.theseed.org/servers/2010/07/scan-for-matches.html"
url = "https://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)
|