flex-2.6.4.eb 848 B

1234567891011121314151617181920212223242526272829303132
  1. name = 'flex'
  2. version = '2.6.4'
  3. homepage = 'http://flex.sourceforge.net/'
  4. description = """
  5. Flex (Fast Lexical Analyzer) is a tool for generating scanners. A scanner,
  6. sometimes called a tokenizer, is a program which recognizes lexical patterns
  7. in text.
  8. """
  9. toolchain = SYSTEM
  10. toolchainopts = {'pic': True}
  11. source_urls = ['https://github.com/westes/flex/releases/download/v%(version)s/']
  12. sources = [SOURCELOWER_TAR_GZ]
  13. checksums = ['e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995']
  14. builddependencies = [
  15. ('Bison', '3.7.6'),
  16. ('help2man', '1.47.4'),
  17. ]
  18. dependencies = [
  19. ('M4', '1.4.19'),
  20. ]
  21. # glibc 2.26 requires _GNU_SOURCE defined to expose reallocarray in the correct
  22. # header, see https://github.com/westes/flex/issues/241
  23. preconfigopts = 'export CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" && '
  24. moduleclass = 'lang'