spack/var/spack/repos/builtin/packages/c3d/package.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
702 B
Python
Raw Normal View History

2022-01-13 03:21:41 +08:00
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
2021-11-05 06:38:28 +08:00
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
2021-11-05 06:38:28 +08:00
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"]