summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Young <A-N-Other@users.noreply.github.com>2024-02-19 21:28:27 +0000
committerGitHub <noreply@github.com>2024-02-19 22:28:27 +0100
commitb5b5130bedcf5a5165cfef2e4e3a30dc1ac0f7ef (patch)
tree14c289e55674a206374fe9fdd5ab98700e106217
parentd670a2a5ce564fb5386fa55deb987803d12e8de0 (diff)
downloadspack-b5b5130bedcf5a5165cfef2e4e3a30dc1ac0f7ef.tar.gz
spack-b5b5130bedcf5a5165cfef2e4e3a30dc1ac0f7ef.tar.bz2
spack-b5b5130bedcf5a5165cfef2e4e3a30dc1ac0f7ef.tar.xz
spack-b5b5130bedcf5a5165cfef2e4e3a30dc1ac0f7ef.zip
pblat: add new package (#42517)
Co-authored-by: LMS Bioinformatics <bioinformatics@lms.mrc.ac.uk> Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/pblat/package.py30
1 files changed, 30 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/pblat/package.py b/var/spack/repos/builtin/packages/pblat/package.py
new file mode 100644
index 0000000000..b62a96eb2a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/pblat/package.py
@@ -0,0 +1,30 @@
+# Copyright 2013-2024 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 Pblat(MakefilePackage):
+ """Parallelized blat with multi-threads support"""
+
+ homepage = "http://icebert.github.io/pblat/"
+ url = "https://github.com/icebert/pblat/archive/refs/tags/2.5.1.tar.gz"
+
+ # `pblat` shares the license for Jim Kent's `blat`. For-profit users must visit:
+ license_url = "https://kentinformatics.com/"
+
+ version("2.5.1", sha256="e85a4d752b8e159502d529f0f9e47579851a6b466b6c2f1f4d49f598642bc615")
+
+ depends_on("openssl")
+ depends_on("zlib-api")
+
+ def edit(self, spec, prefix):
+ makefile = FileFilter("Makefile")
+ makefile.filter("MACHTYPE=x86_64", "MACHTYPE?=x86_64")
+ makefile.filter("CC=gcc", "")
+
+ def install(self, spec, prefix):
+ mkdirp(prefix.bin)
+ install("pblat", prefix.bin)