easyblock = 'ConfigureMake'

name = 'byacc'
version = '20170709'

homepage = 'http://invisible-island.net/byacc/byacc.html'

description = """
 Berkeley Yacc (byacc) is generally conceded to be the best yacc variant
 available.  In contrast to bison, it is written to avoid dependencies
 upon a particular compiler.
"""

toolchain = {'name': 'GCCcore', 'version': '6.4.0'}

source_urls = ['ftp://invisible-island.net/byacc']
sources = [SOURCELOWER_TGZ]
checksums = ['27cf801985dc6082b8732522588a7b64377dd3df841d584ba6150bc86d78d9eb']

builddependencies = [
    ('binutils', '2.28'),
]

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

moduleclass = 'lang'
