name = 'Geant4'
version = '9.5.p01'

homepage = 'http://geant4.cern.ch/'
description = """Geant4 is a toolkit for the simulation of the passage of particles through matter.
 Its areas of application include high energy, nuclear and accelerator physics,
 as well as studies in medical and space science."""

toolchain = {'name': 'ictce', 'version': '5.3.0'}

source_urls = ['http://geant4.cern.ch/support/source']
sources = ['%(namelower)s.%(version)s.tar.gz']

dependencies = [
    ('expat', '2.1.0'),
    # recommended CLHEP version, see
    # https://geant4.web.cern.ch/geant4/support/ReleaseNotes4.9.5.html#2.
    ('CLHEP', '2.1.1.0'),
]

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

configopts = "-DEXPAT_LIBRARY=$EBROOTEXPAT/lib/libexpat.so -DEXPAT_INCLUDE_DIR=$EBROOTEXPAT/include"
configopts += "-DGEANT4_INSTALL_DATA=OFF"

moduleclass = 'phys'
