1234567891011121314151617181920212223242526272829303132 |
- name = 'flex'
- version = '2.6.4'
- 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 = SYSTEM
- toolchainopts = {'pic': True}
- source_urls = ['https://github.com/westes/flex/releases/download/v%(version)s/']
- sources = [SOURCELOWER_TAR_GZ]
- checksums = ['e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995']
- builddependencies = [
- ('Bison', '3.7.6'),
- ('help2man', '1.47.4'),
- ]
- dependencies = [
- ('M4', '1.4.19'),
- ]
- # glibc 2.26 requires _GNU_SOURCE defined to expose reallocarray in the correct
- # header, see https://github.com/westes/flex/issues/241
- preconfigopts = 'export CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" && '
- moduleclass = 'lang'
|