name = 'flex'
version = '2.6.0'

homepage = 'http://flex.sourceforge.net/'
description = """Flex (Fast Lexical Analyzer) is a tool for generating scanners. A scanner,
 sometimes called a tokenizer, is a program which recognizes lexical patterns in text."""

toolchain = {'name': 'GCCcore', 'version': '5.3.0'}
toolchainopts = {'pic': True}

sources = [SOURCELOWER_TAR_GZ]
source_urls = ['http://prdownloads.sourceforge.net/%(namelower)s']

dependencies = [
    ('Bison', '3.0.4'),
    ('M4', '1.4.17')
]

# use same binutils version that was used when building GCC toolchain
builddependencies = [('binutils', '2.26', '', True)]

moduleclass = 'lang'
