summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorLuke Diorio-Toth <ldioriototh@gmail.com>2022-10-19 13:41:39 -0500
committerGitHub <noreply@github.com>2022-10-19 11:41:39 -0700
commit5cce66be754be4328eee99a8d46b4b75699e9413 (patch)
tree99b361e99cab44859ac82357b0a1d5e3e0639de7 /var
parent9f89926980b82cde59d3a82aed214019c5b61db9 (diff)
downloadspack-5cce66be754be4328eee99a8d46b4b75699e9413.tar.gz
spack-5cce66be754be4328eee99a8d46b4b75699e9413.tar.bz2
spack-5cce66be754be4328eee99a8d46b4b75699e9413.tar.xz
spack-5cce66be754be4328eee99a8d46b4b75699e9413.zip
pilercr: new package (#33251)
* new package * fixed style * actually building now
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/pilercr/package.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/pilercr/package.py b/var/spack/repos/builtin/packages/pilercr/package.py
new file mode 100644
index 0000000000..a18c4c70f7
--- /dev/null
+++ b/var/spack/repos/builtin/packages/pilercr/package.py
@@ -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)