easyblock = 'ConfigureMake'

name = 'Blitz++'
version = '0.10'

homepage = 'http://blitz.sourceforge.net/'
description = """Blitz++ is a (LGPLv3+) licensed meta-template library for array manipulation in C++
 with a speed comparable to Fortran implementations, while preserving an object-oriented interface"""

toolchain = {'name': 'goolf', 'version': '1.5.16'}

sources = ['blitz-%(version)s.tar.gz']
source_urls = [('https://sourceforge.net/projects/blitz/files/blitz/%(name)s %(version)s', 'download')]

sanity_check_paths = {
    'files': ['lib/libblitz.a'],
    'dirs': ['include/blitz/array', 'include/blitz/gnu', 'include/blitz/meta', 'include/random', 'lib/pkgconfig'],
}

configopts = '--enable-shared'

moduleclass = 'lib'
