ANTLR-2.7.7-GCCcore-10.2.0-Java-11.eb 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. easyblock = 'ConfigureMake'
  2. name = 'ANTLR'
  3. version = '2.7.7'
  4. versionsuffix = '-Java-%(javaver)s'
  5. homepage = 'https://www.antlr2.org/'
  6. description = """ANTLR, ANother Tool for Language Recognition, (formerly PCCTS)
  7. is a language tool that provides a framework for constructing recognizers,
  8. compilers, and translators from grammatical descriptions containing
  9. Java, C#, C++, or Python actions."""
  10. toolchain = {'name': 'GCCcore', 'version': '10.2.0'}
  11. source_urls = ['https://www.antlr2.org/download/']
  12. sources = [SOURCELOWER_TAR_GZ]
  13. patches = ['%(name)s-%(version)s_includes.patch']
  14. checksums = [
  15. '853aeb021aef7586bda29e74a6b03006bcb565a755c86b66032d8ec31b67dbb9', # antlr-2.7.7.tar.gz
  16. 'd167d3248a03301bc93efcb37d5df959aae6794968e42231af0b0dd26d6a2e66', # ANTLR-2.7.7_includes.patch
  17. ]
  18. builddependencies = [('binutils', '2.35')]
  19. dependencies = [('Java', '11', '', True)]
  20. configopts = '--disable-examples --disable-csharp --disable-python'
  21. sanity_check_paths = {
  22. 'files': ['bin/antlr', 'bin/antlr-config'],
  23. 'dirs': ['include'],
  24. }
  25. moduleclass = 'tools'