diff options
author | ketsubouchi <kenta.tsubouchi@hac-inc.co.jp> | 2020-12-02 19:10:47 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-02 11:10:47 +0100 |
commit | 47ac7da244f43e33d3744fd6eeb1972154912b1e (patch) | |
tree | 3841892281a93a7641f03dd748fd5686a2a17587 | |
parent | 0d988700ba9dde3acf40d7c942d02f8961f67088 (diff) | |
download | spack-47ac7da244f43e33d3744fd6eeb1972154912b1e.tar.gz spack-47ac7da244f43e33d3744fd6eeb1972154912b1e.tar.bz2 spack-47ac7da244f43e33d3744fd6eeb1972154912b1e.tar.xz spack-47ac7da244f43e33d3744fd6eeb1972154912b1e.zip |
openexr: changed build system to autotools (#20209)
-rw-r--r-- | var/spack/repos/builtin/packages/openexr/package.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/var/spack/repos/builtin/packages/openexr/package.py b/var/spack/repos/builtin/packages/openexr/package.py index 9663fd9ab7..efd519a476 100644 --- a/var/spack/repos/builtin/packages/openexr/package.py +++ b/var/spack/repos/builtin/packages/openexr/package.py @@ -6,7 +6,7 @@ from spack import * -class Openexr(Package): +class Openexr(AutotoolsPackage): """OpenEXR Graphics Tools (high dynamic-range image file format)""" homepage = "http://www.openexr.com/" @@ -39,9 +39,9 @@ class Openexr(Package): depends_on('ilmbase') depends_on('zlib', type=('build', 'link')) - def install(self, spec, prefix): - configure_options = ['--prefix={0}'.format(prefix)] - if '+debug' not in spec: - configure_options.append('--disable-debug') - configure(*configure_options) - make('install') + def configure_args(self): + configure_options = [] + + configure_options += self.enable_or_disable('debug') + + return configure_options |