# IT4Innovations
# LK

easyblock = 'MakeCp'

name = 'IOTK'
version = '1.2.2'

homepage = 'https://github.com/QEF/iotk/tree/master/iotk'
description = """The input/output tool kit (IOTK) is a Fortran90 library intended to provide a
simplified access to tagged files formatted using some specific rule."""

source_urls = ['https://github.com/yambo-code/yambo/files/962173']
sources = ['iotk-y1.2.2.tar.gz']

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

patches = ['IOTK-intel-2020a.patch']

with_configure = True

buildopts = 'all'

maxparallel = 1

files_to_copy = [
        (['include/*'], 'include'),
        (['src/*.x'], 'bin'),
        (['src/*.a'], 'lib'),
        (['src/*'], 'src'),
]

sanity_check_paths = {
    'files': [],
    'dirs': ['bin', 'include', 'lib'],
}

moduleclass = 'lib'
