summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordownloadico <download@carc.unm.edu>2022-12-15 01:19:50 -0700
committerGitHub <noreply@github.com>2022-12-15 09:19:50 +0100
commit1f8b55a0215c0b7122a052894d8b5075add2d1d5 (patch)
tree4488b085f79fcbce8fce7f2eea51b6df17d9b739 /var
parentb5f8ed07fb409b5ca14f19e2a3da4ced537c167a (diff)
downloadspack-1f8b55a0215c0b7122a052894d8b5075add2d1d5.tar.gz
spack-1f8b55a0215c0b7122a052894d8b5075add2d1d5.tar.bz2
spack-1f8b55a0215c0b7122a052894d8b5075add2d1d5.tar.xz
spack-1f8b55a0215c0b7122a052894d8b5075add2d1d5.zip
Add G'MIC package with only the "cli" target available (#34533)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/gmic/package.py41
1 files changed, 41 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/gmic/package.py b/var/spack/repos/builtin/packages/gmic/package.py
new file mode 100644
index 0000000000..0a766919ae
--- /dev/null
+++ b/var/spack/repos/builtin/packages/gmic/package.py
@@ -0,0 +1,41 @@
+# 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 Gmic(MakefilePackage):
+ """G'MIC is an open-source framework for digital image processing.
+ G'MIC is a full-featured open-source framework for digital image
+ processing, distributed under the CeCILL free software licenses (LGPL-like
+ and/or GPL-compatible). It provides several user interfaces to convert /
+ process / visualize generic image datasets, ranging from 1D scalar signals
+ to 3D+t sequences of multi-spectral volumetric images, hence including 2D
+ color images."""
+
+ homepage = "https://gmic.eu/"
+ git = "https://github.com/GreycLab/gmic.git"
+
+ version("develop", branch="master")
+ version("3.1.6", tag="v.3.1.6")
+
+ depends_on("curl")
+ depends_on("fftw")
+ depends_on("libjpeg")
+ depends_on("libtiff")
+ depends_on("libxau")
+ depends_on("libxcb")
+ depends_on("libpng")
+ depends_on("openexr")
+ depends_on("opencv")
+ depends_on("zlib")
+ depends_on("zstd")
+ depends_on("libx11")
+
+ def build(self, spec, prefix):
+ make("cli")
+
+ def install(self, spec, prefix):
+ make("install PREFIX='' USR='' DESTDIR={0}".format(self.prefix))