openexr: changed build system to autotools (#20209)
This commit is contained in:
parent
0d988700ba
commit
47ac7da244
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user