summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Young <A-N-Other@users.noreply.github.com>2023-10-06 22:14:45 +0100
committerGitHub <noreply@github.com>2023-10-06 14:14:45 -0700
commitb027d7d0de0fc0f79fedf95e7bd312a9f8ca661c (patch)
treec936b87231495d7d47c7e7b533e94f8335cadb0e
parent0357df0c8b8655b5e10511f48ebb4cefa43380f2 (diff)
downloadspack-b027d7d0de0fc0f79fedf95e7bd312a9f8ca661c.tar.gz
spack-b027d7d0de0fc0f79fedf95e7bd312a9f8ca661c.tar.bz2
spack-b027d7d0de0fc0f79fedf95e7bd312a9f8ca661c.tar.xz
spack-b027d7d0de0fc0f79fedf95e7bd312a9f8ca661c.zip
metal: new package @2020-05-05 (#40355)
* metal: new package * style --------- Co-authored-by: LMS Bioinformatics <bioinformatics@lms.mrc.ac.uk>
-rw-r--r--var/spack/repos/builtin/packages/metal/package.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/metal/package.py b/var/spack/repos/builtin/packages/metal/package.py
new file mode 100644
index 0000000000..24325c744b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/metal/package.py
@@ -0,0 +1,25 @@
+# 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 Metal(CMakePackage):
+ """METAL is a tool for the meta-analysis of genome-wide association studies"""
+
+ homepage = "https://genome.sph.umich.edu/wiki/METAL"
+ url = "https://github.com/statgen/METAL/archive/refs/tags/2020-05-05.tar.gz"
+
+ version(
+ "2020-05-05", sha256="0ffa2419ca2ab43766e7e6e8c97822c8ce1f5b6233fb5f992d1b1be1955fede7"
+ )
+
+ depends_on("cmake@3.1:", type="build")
+ depends_on("zlib-ng")
+
+ @run_after("install")
+ def mv_binary(self):
+ with working_dir(self.build_directory):
+ install_tree("bin", self.prefix.bin)