easyblock = 'CMakeMake'

name = 'CLHEP'
version = '2.4.0.0'

homepage = 'http://proj-clhep.web.cern.ch/proj-clhep/'
description = """The CLHEP project is intended to be a set of HEP-specific foundation and
 utility classes such as random generators, physics vectors, geometry and linear algebra.
 CLHEP is structured in a set of packages independent of any external package."""

toolchain = {'name': 'intel', 'version': '2017b'}
toolchainopts = {'pic': True}

source_urls = ['http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/']
sources = [SOURCELOWER_TGZ]
checksums = ['5e5cf284323898b4c807db6e684d65d379ade65fe0e93f7b10456890a6dee8cc']

builddependencies = [('CMake', '3.10.0')]

separate_build_dir = True

configopts = '-DCMAKE_BUILD_TYPE=Release'

moduleclass = 'numlib'
