g2clib-2.2.0-GCCcore-13.3.0.eb 953 B

12345678910111213141516171819202122232425262728293031323334353637
  1. easyblock = 'CMakeMake'
  2. name = 'g2clib'
  3. version = '2.2.0'
  4. homepage = 'https://github.com/NOAA-EMC/NCEPLIBS-g2c'
  5. description = """Library contains GRIB2 encoder/decoder ('C' version)."""
  6. toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
  7. toolchainopts = {'pic': True}
  8. source_urls = ['https://github.com/NOAA-EMC/NCEPLIBS-g2c/archive/refs/tags/']
  9. sources = ['v%(version)s.tar.gz']
  10. checksums = ['cf0ac8f75aed662ccc64f4c44fbe46a70307bc27cbe95417fdfb6caf75245457']
  11. builddependencies = [
  12. ('binutils', '2.42'),
  13. ('CMake', '3.29.3'),
  14. ]
  15. dependencies = [
  16. ('JasPer', '4.2.4'),
  17. ('libaec', '1.1.3'),
  18. ('libpng', '1.6.43'),
  19. ('libjpeg-turbo', '3.0.1'),
  20. ('zlib', '1.3.1'),
  21. ]
  22. # Symlink libg2c to libgrib2c
  23. postinstallcmds = ['cd %(installdir)s/lib && for l in libg2c{.,_,w}*; do ln -s "${l}" "${l/g2c/grib2c}"; done']
  24. sanity_check_paths = {
  25. 'files': ['lib/libg2c.%s' % SHLIB_EXT],
  26. 'dirs': ['include'],
  27. }
  28. moduleclass = 'data'