pilercr: new package (#33251)

* new package
* fixed style
* actually building now
This commit is contained in:
Luke Diorio-Toth 2022-10-19 13:41:39 -05:00 committed by GitHub
parent 9f89926980
commit 5cce66be75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,28 @@
# Copyright 2013-2022 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 Pilercr(MakefilePackage):
"""Identification and analysis of CRISPR repeats."""
homepage = "http://www.drive5.com/pilercr/"
url = "http://www.drive5.com/pilercr/pilercr1.06.tar.gz"
version("1.06", sha256="50175f7aa171674cda5ba255631f340f9cc7f80e8cc25135a4cb857147d91068")
@property
def build_targets(self):
targets = []
targets.append("GPP = {0}".format(spack_cxx))
targets.append("CFLAGS = -O3 -DNDEBUG=1")
targets.append("LDLIBS = -lm")
return targets
def install(self, spec, prefix):
mkdirp(prefix.bin)
install("pilercr", prefix.bin)