ants: missing zlib dependency and fix working directory in install. (#13010)

This commit is contained in:
Toyohisa Kameyama 2019-10-03 01:58:25 +09:00 committed by Adam J. Stewart
parent 7d9514d3fa
commit 1550d5cae6

View file

@ -20,8 +20,13 @@ class Ants(CMakePackage):
version('2.2.0', '5661b949268100ac0f7baf6d2702b4dd')
depends_on('zlib', type='link')
def install(self, spec, prefix):
with working_dir(join_path('spack-build', 'ANTS-build'), create=False):
with working_dir(
join_path(self.build_directory, 'ANTS-build'),
create=False
):
make("install")
install_tree('Scripts', prefix.bin)