name = 'binutils'
version = '2.26'

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

toolchain = {'name': 'dummy', 'version': ''}

source_urls = [GNU_SOURCE]
sources = [SOURCE_TAR_GZ]
patches = ['binutils-%(version)s_GCC-6.patch']
checksums = [
    '9615feddaeedc214d1a1ecd77b6697449c952eab69d79ab2125ea050e944bcc1',  # binutils-2.26.tar.gz
    '1fd3088df8089d269c1e6ab74c5b4eb7793f9a321515ef96420f0d5ffef3fe75',  # binutils-2.26_GCC-6.patch
]

builddependencies = [
    ('flex', '2.6.0'),
    ('Bison', '3.0.4'),
    # zlib required, but being linked instatically, so not a runtime dep
    ('zlib', '1.2.8'),
]

moduleclass = 'tools'
