easyblock = 'CMakeMake'

name = 'mctc-lib'
version = '0.3.1'

homepage = 'https://github.com/grimme-lab/mctc-lib'
description = 'Modular computation tool chain library'

toolchain = {'name': 'GCC', 'version': '11.2.0'}

source_urls = ['https://github.com/grimme-lab/mctc-lib/archive']
sources = ['v%(version)s.tar.gz']
checksums = ['03dc8ccba37413da70e55a07cef8e8de53bce33f5bb52c1f8db5fec326abe083']

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

sanity_check_paths = {
    'files': ['bin/mctc-convert', 'lib/libmctc-lib.a'],
    'dirs': ['include/mctc-lib', 'lib/pkgconfig', 'share'],
}

moduleclass = 'tools'
