summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin S <3630356+codeandkey@users.noreply.github.com>2019-06-14 16:40:50 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2019-06-14 16:40:50 -0500
commit9d6f37dc155638a99592dffe6ce70255a6bceefb (patch)
tree2213be37f83f71f73ee7e15941dc6b7e6eca2f13
parentf3eab78b807fae084497acd0f9f92a30acb8f7df (diff)
downloadspack-9d6f37dc155638a99592dffe6ce70255a6bceefb.tar.gz
spack-9d6f37dc155638a99592dffe6ce70255a6bceefb.tar.bz2
spack-9d6f37dc155638a99592dffe6ce70255a6bceefb.tar.xz
spack-9d6f37dc155638a99592dffe6ce70255a6bceefb.zip
montage: new package at 6.0 (#11696)
-rw-r--r--var/spack/repos/builtin/packages/montage/package.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/montage/package.py b/var/spack/repos/builtin/packages/montage/package.py
new file mode 100644
index 0000000000..30fb6a65e1
--- /dev/null
+++ b/var/spack/repos/builtin/packages/montage/package.py
@@ -0,0 +1,27 @@
+# Copyright 2013-2019 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 import *
+
+
+class Montage(MakefilePackage):
+ """Montage is a toolkit for assembling Flexible Image Transport System
+ (FITS) images into custom mosaics."""
+
+ homepage = "http://montage.ipac.caltech.edu/"
+ url = "http://montage.ipac.caltech.edu/download/Montage_v6.0.tar.gz"
+
+ version('6.0', sha256='1f540a7389d30fcf9f8cd9897617cc68b19350fbcde97c4d1cdc5634de1992c6')
+
+ depends_on('freetype')
+ depends_on('bzip2')
+ depends_on('libpng')
+
+ def install(self, spec, prefix):
+ # not using autotools, just builds bin and lib in the source directory
+ mkdirp(prefix.bin, prefix.lib)
+
+ install_tree('bin', prefix.bin)
+ install_tree('lib', prefix.lib)