# IT4Innovations 2018

name = 'binutils'
version = '2.30'

homepage = 'http://directory.fsf.org/project/binutils/'
description = "binutils: GNU binary utilities"

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

sources = [SOURCE_TAR_GZ]
source_urls = [GNU_SOURCE]

builddependencies = [
    ('flex', '2.6.4', '', True),
    ('Bison', '3.0.4', '', True),
    # zlib required, but being linked in statically, so not a runtime dep
    ('zlib', '1.2.11', '', True),
    # use same binutils version that was used when building GCC toolchain, to
    # 'bootstrap' this binutils
    ('binutils', version, '', True)
]

moduleclass = 'tools'
