summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)