libmatheval-1.1.8-foss-2017a.eb 925 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
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 = [
Lukáš Krupčík's avatar
Lukáš Krupčík committed
17
    ('flex', '2.6.3', '', ('GCCcore', '6.3.0')),
18 19 20 21 22 23 24
    ('Bison', '3.0.4', '', ('GCCcore', '6.3.0')),
    ('byacc', '20160606', '', ('dummy', '')),
    ('Guile', '1.8.8'),
]

configopts = '--with-pic '

Lukáš Krupčík's avatar
Lukáš Krupčík committed
25 26
# fix for guile-config being broken because shebang line contains full
# path to bin/guile
27 28 29 30 31 32 33 34
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'