ANTLR-2.7.7-GCCcore-8.3.0.eb 1.0 KB

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