easyblock = 'ConfigureMake'

name = "MIKE"
version = '2016'
versionsuffix = '-SP2'

homepage = 'http://www.mikepoweredbydhi.com'
description = """
MIKE Powered by DHI is a part of DHI, the global organisation dedicated to
solving challenges in water environments worldwide."""

toolchain = {'name': 'dummy', 'version': ''}  # empty version to ensure that dependencies are loaded

skipsteps = ['source', 'patch', 'prepare','configure', 'install', 'build', 'test', 'sanitycheck']

sanity_check_paths = {
    'files': ['%(installdir)s/EULA.txt'],
    'dirs': ['%(installdir)s/bin']
}

dependencies = [('intel', '2016.01')]

modextrapaths = {"PATH": 'bin',
                "LD_LIBRARY_PATH": 'bin',
                "C_INCLUDE_PATH": 'include',
                "CPLUS_INCLUDE_PATH": 'include'
}

modextravars = {'MIKE_HOME': '%(installdir)s',
                'MIKE_DIR': '%(installdir)s'
}

moduleclass = 'tools'
