easyblock = 'ConfigureMake'

name = 'guile'
version = '1.8.8'

homepage = 'http://www.gnu.org/software/guile'
description = """Guile is the GNU Ubiquitous Intelligent Language for Extensions,
 the official extension language for the GNU operating system."""

toolchain = SYSTEM

sources = [SOURCELOWER_TAR_GZ]
source_urls = [GNU_SOURCE]

dependencies = [
    ('libtool', '2.4.2'),
    ('GMP', '5.0.5'),
    ('libunistring', '0.9.3'),
    ('pkg-config', '0.27.1'),
    ('libffi', '3.0.13'),
    ('libreadline', '6.3'),
]

configopts = " --enable-error-on-warning=no"

sanity_check_paths = {
    'files': [
        "bin/%s" %
        x for x in [
            "guile",
            'guile-config',
            'guile-snarf',
            'guile-tools']] +
    [
        "lib/libguile.a",
        "include/libguile.h"],
    'dirs': []}

moduleclass = 'devel'
