openexr: changed build system to autotools (#20209)
This commit is contained in:
parent
0d988700ba
commit
47ac7da244
@ -6,7 +6,7 @@
|
|||||||
from spack import *
|
from spack import *
|
||||||
|
|
||||||
|
|
||||||
class Openexr(Package):
|
class Openexr(AutotoolsPackage):
|
||||||
"""OpenEXR Graphics Tools (high dynamic-range image file format)"""
|
"""OpenEXR Graphics Tools (high dynamic-range image file format)"""
|
||||||
|
|
||||||
homepage = "http://www.openexr.com/"
|
homepage = "http://www.openexr.com/"
|
||||||
@ -39,9 +39,9 @@ class Openexr(Package):
|
|||||||
depends_on('ilmbase')
|
depends_on('ilmbase')
|
||||||
depends_on('zlib', type=('build', 'link'))
|
depends_on('zlib', type=('build', 'link'))
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def configure_args(self):
|
||||||
configure_options = ['--prefix={0}'.format(prefix)]
|
configure_options = []
|
||||||
if '+debug' not in spec:
|
|
||||||
configure_options.append('--disable-debug')
|
configure_options += self.enable_or_disable('debug')
|
||||||
configure(*configure_options)
|
|
||||||
make('install')
|
return configure_options
|
||||||
|
Loading…
Reference in New Issue
Block a user