ants: add v2.3.5 (#23752)
This commit is contained in:
parent
7c8b5a4e3a
commit
ef12b0cb8f
@ -15,13 +15,21 @@ class Ants(CMakePackage):
|
|||||||
processing library to which ANTs developers contribute.
|
processing library to which ANTs developers contribute.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
homepage = "http://stnava.github.io/ANTs/"
|
homepage = "https://stnava.github.io/ANTs/"
|
||||||
url = "https://github.com/ANTsX/ANTs/archive/v2.2.0.tar.gz"
|
url = "https://github.com/ANTsX/ANTs/archive/v2.2.0.tar.gz"
|
||||||
|
|
||||||
|
version('2.3.5', sha256='2fddfd5f274a47f1c383e734a7e763b627c4a8383d2d3b9971561f335016bb0a')
|
||||||
version('2.2.0', sha256='62f8f9ae141cb45025f4bb59277c053acf658d4a3ba868c9e0f609af72e66b4a')
|
version('2.2.0', sha256='62f8f9ae141cb45025f4bb59277c053acf658d4a3ba868c9e0f609af72e66b4a')
|
||||||
|
|
||||||
depends_on('zlib', type='link')
|
depends_on('zlib', type='link')
|
||||||
|
|
||||||
|
variant('minc', default=True, description='Build ITK with MINC support')
|
||||||
|
|
||||||
|
def cmake_args(self):
|
||||||
|
return [
|
||||||
|
self.define_from_variant('ITK_BUILD_MINC_SUPPORT', 'minc')
|
||||||
|
]
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
with working_dir(
|
with working_dir(
|
||||||
join_path(self.build_directory, 'ANTS-build'),
|
join_path(self.build_directory, 'ANTS-build'),
|
||||||
|
Loading…
Reference in New Issue
Block a user