easyconfigs-it4i/l/libmatheval/libmatheval-1.1.8.eb
2019-11-06 13:27:39 +01:00

37 lines
847 B
Plaintext

# IT4Innovations 2017
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."""
toolchain = SYSTEM
toolchainopts = {'pic': True}
sources = [SOURCELOWER_TAR_GZ]
source_urls = [GNU_SOURCE]
dependencies = [
('flex', '2.6.4'),
('Bison', '3.0.4'),
('byacc', '20120526'),
('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'