
We'd like to use a consistent checksum scheme everywhere so that we can: a) incorporate archive checksums into our specs and have a consistent hashing algorithm across all specs. b) index mirrors with a consistent type of checksum, and not one that is dependent on how spack packages are written. - [x] convert existing md5, sha224, sha512, sha1 checksums to sha256
28 lines
1.1 KiB
Python
28 lines
1.1 KiB
Python
# 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 Primer3(MakefilePackage):
|
|
"""Primer3 is a widely used program for designing PCR primers
|
|
(PCR = "Polymerase Chain Reaction"). PCR is an essential and
|
|
ubiquitous tool in genetics and molecular biology. Primer3
|
|
can also design hybridization probes and sequencing primers."""
|
|
|
|
homepage = "http://primer3.sourceforge.net/"
|
|
url = "https://sourceforge.net/projects/primer3/files/primer3/2.3.7/primer3-2.3.7.tar.gz/download"
|
|
|
|
version('2.3.7', sha256='9e37a301d2ca9e5034c9a9d4afcb3e90041f6cc44c658b63598d0ccfcb176e5e')
|
|
|
|
build_directory = 'src'
|
|
|
|
def install(self, spec, prefix):
|
|
with working_dir(self.build_directory):
|
|
mkdirp(prefix.bin)
|
|
for binary in ('primer3_core', 'ntdpal', 'oligotm',
|
|
'long_seq_tm_test'):
|
|
install(binary, prefix.bin)
|