easyblock = 'ConfigureMake'

name = 'FoX'
version = '4.1.2'

homepage = 'http://homepages.see.leeds.ac.uk/~earawa/FoX/'
description = """FoX is an XML library written in Fortran 95.
It allows software developers to read, write and modify XML documents from Fortran applications without the
complications of dealing with multi-language development."""

toolchain = {'name': 'intel', 'version': '2020b'}

source_urls = ['http://homepages.see.leeds.ac.uk/~earawa/FoX/source/']
sources = [SOURCE_TAR_GZ]
checksums = ['3b749138229e7808d0009a97e2ac47815ad5278df6879a9cc64351a7921ba06f']

sanity_check_paths = {
    'files': ['lib/libFoX_%s.a' % x for x in ['common', 'dom', 'fsys', 'sax', 'utils', 'wcml', 'wkml', 'wxml']],
    'dirs': ['finclude', 'lib', 'bin']
}

modextrapaths = {
    'CPATH': ['finclude'],
}

moduleclass = 'lib'
