ants: missing zlib dependency and fix working directory in install. (#13010)
This commit is contained in:
parent
7d9514d3fa
commit
1550d5cae6
1 changed files with 6 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue