# IT4Innovations
# LK 2023

easyblock = 'ConfigureMake'

name = 'MPC'
version = '1.2.1'

homepage = 'http://www.multiprecision.org/'
description = """Gnu Mpc is a C library for the arithmetic of
 local_complex numbers with arbitrarily high precision and correct
 rounding of the result. It extends the principles of the IEEE-754
 standard for fixed precision real floating point numbers to
 local_complex numbers, providing well-defined semantics for every
 operation. At the same time, speed of operation at high precision
 is a major design goal."""

toolchain = SYSTEM

source_urls = ['http://www.multiprecision.org/mpc/download/']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459']

dependencies = [
     ('GMP', '6.2.1'),
#     ('MPFR', '3.1.5')
]

runtest = 'check'

sanity_check_paths = {
    'files': ['lib/libmpc.%s' % SHLIB_EXT, 'include/mpc.h'],
    'dirs': []
}

moduleclass = 'math'
