summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Darwin <bcdarwin@gmail.com>2021-11-04 18:38:28 -0400
committerGitHub <noreply@github.com>2021-11-04 15:38:28 -0700
commitf2a42ac4c68a0f9433ddb853ca07ee88314eb654 (patch)
tree83ae341fd4b04804e57a3f6eefe2315232bc0c8b
parent080f1872b8d0ab0e3603c83d889ebf0e94fc3651 (diff)
downloadspack-f2a42ac4c68a0f9433ddb853ca07ee88314eb654.tar.gz
spack-f2a42ac4c68a0f9433ddb853ca07ee88314eb654.tar.bz2
spack-f2a42ac4c68a0f9433ddb853ca07ee88314eb654.tar.xz
spack-f2a42ac4c68a0f9433ddb853ca07ee88314eb654.zip
c3d: add new package (#27155)
-rw-r--r--var/spack/repos/builtin/packages/c3d/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/c3d/package.py b/var/spack/repos/builtin/packages/c3d/package.py
new file mode 100644
index 0000000000..44588999a5
--- /dev/null
+++ b/var/spack/repos/builtin/packages/c3d/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2021 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 C3d(CMakePackage):
+ """Image processing and conversion tool based on ITK.
+ """
+
+ homepage = "https://github.com/pyushkevich/c3d"
+ git = "https://github.com/pyushkevich/c3d.git"
+ url = "https://github.com/pyushkevich/c3d/archive/refs/tags/v1.3.0.tar.gz"
+
+ version('1.3.0', sha256="bd45482247fa4ac5ab98b3a775b5438390671e3e224a42f73967904b3895050d")
+
+ depends_on('itk')
+
+ def cmake_args(self):
+ return ["-DCONVERT3D_USE_ITK_REMOTE_MODULES=OFF"]