easyblock = 'ConfigureMake'

name = 'SUMO'
version = '0.25.0'

homepage = 'http://www.sumo.dlr.de/wiki/Main_Page'

description = """Simulation of Urban MObility (SUMO) is an open source, highly portable,
microscopic and continuous road traffic simulation package designed to handle large road networks.
"""

toolchain = {'name': 'foss', 'version': '2015g'}

source_urls = [SOURCEFORGE_SOURCE]
sources = ['%(namelower)s-src-%(version)s.tar.gz']

osdependencies = ['xerces-c-devel']

builddependencies = [('FOX', '1.6.51'),
                     ('GDAL', '1.9.2'),
                     ('PROJ_4', '4.9.2'),
                     ]

sanity_check_paths = {
    'files': ['bin/sumo', 'bin/sumo-gui'],
    'dirs': ['bin'],
}

moduleclass = 'vis'
