summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/c3d/package.py
blob: ab4b2872ec8252d2025bfd2d31f8e3caf0c9df9b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 2013-2024 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 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"

    license("GPL-3.0-or-later")

    version("1.3.0", sha256="bd45482247fa4ac5ab98b3a775b5438390671e3e224a42f73967904b3895050d")

    depends_on("itk")

    def cmake_args(self):
        return ["-DCONVERT3D_USE_ITK_REMOTE_MODULES=OFF"]