# IT4Innovations 
# LK 2021

easyblock = 'ConfigureMake'

name = 'xmlf90'
version = '1.5.4'

homepage = 'https://launchpad.net/xmlf90'
description = """xmlf90 is a basic XML parsing library written in Fortran."""

# can't move down to GCCcore and combine with Intel, gfortran modules are incompatible with ifort
toolchain = {'name': 'iccifort', 'version': '2020.4.304'}

source_urls = ['https://launchpad.net/xmlf90/trunk/%(version_major_minor)s/+download/']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['a0b1324ff224d5b5ad1127a6ad4f90979f6b127f1a517f98253eea377237bbe4']

builddependencies = [('binutils', '2.35')]

sanity_check_paths = {
    'files': ['include/xmlf90_%s.mod' % x for x in ['cml', 'dom', 'sax', 'wxml', 'xpath']] + ['lib/libxmlf90.a'],
    'dirs': ['share/org.siesta-project'],
}

moduleclass = 'data'
