# IT4Innovations 2018

easyblock = 'ConfigureMake'

name = 'Bash'
version = '4.4'

homepage = 'http://www.gnu.org/software/bash'
description = """Bash is an sh-local_compatible command language interpreter that executes commands
 read from the standard input or from a file.  Bash also incorporates useful features from the
 Korn and C shells (ksh and csh)."""

toolchain = {'name': 'GCC', 'version': '6.3.0-2.27'}

sources = [SOURCELOWER_TAR_GZ]
source_urls = [GNU_SOURCE]

dependencies = [
    ('libreadline', '7.0', '', True),
]

configopts = " --enable-readline --enable-job-control --enable-history "

runtest = 'test'

sanity_check_paths = {
    'files': ["bin/bash"],
    'dirs': []
}

moduleclass = 'tools'
