easyblock = 'ConfigureMake' name = 'libmatheval' version = '1.1.8' homepage = 'http://www.gnu.org/software/libmatheval/' description = """GNU libmatheval is a library (callable from C and Fortran) to parse and evaluate symbolic expressions input as text.""" sources = [SOURCELOWER_TAR_GZ] source_urls = [GNU_SOURCE] toolchain = {'name': 'foss', 'version': '2017a'} toolchainopts = {'pic': True} dependencies = [ ('flex', '2.6.3', '', ('GCCcore', '6.3.0')), ('Bison', '3.0.4', '', ('GCCcore', '6.3.0')), ('byacc', '20160606', '', True), ('Guile', '1.8.8'), ] configopts = '--with-pic ' # fix for guile-config being broken because shebang line contains full # path to bin/guile configopts += 'GUILE_CONFIG="$EBROOTGUILE/bin/guile -e main -s $EBROOTGUILE/bin/guile-config"' sanity_check_paths = { 'files': ['lib/libmatheval.a', 'include/matheval.h'], 'dirs': [], } moduleclass = 'lib'