grib_util-1.5.0-GCCcore-13.3.0.eb 940 B

1234567891011121314151617181920212223242526272829303132333435
  1. easyblock = 'CMakeMake'
  2. name = 'grib_util'
  3. version = '1.5.0'
  4. homepage = 'https://github.com/NOAA-EMC/NCEPLIBS-grib_util'
  5. description = """This is a collection of NCEP GRIB related utilities, for GRIB1 and GRIB2."""
  6. toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
  7. toolchainopts = {'pic': True}
  8. source_urls = ['https://github.com/NOAA-EMC/NCEPLIBS-grib_util/archive/refs/tags/']
  9. sources = ['v%(version)s.tar.gz']
  10. checksums = ['73afba9da382fed73ed8692d77fa037bb313280879cd4012a5e5697dccf55175']
  11. builddependencies = [
  12. ('binutils', '2.42'),
  13. ('CMake', '3.29.3'),
  14. ]
  15. dependencies = [
  16. ('JasPer', '4.2.4'),
  17. ('libpng', '1.6.43'),
  18. ('libjpeg-turbo', '3.0.1'),
  19. ]
  20. # Symlink libg2c to libgrib2c
  21. postinstallcmds = ['cd %(installdir)s/lib && for l in libg2c{.,_,w}*; do ln -s "${l}" "${l/g2c/grib2c}"; done']
  22. sanity_check_paths = {
  23. 'files': ['lib/libg2c.%s' % SHLIB_EXT],
  24. 'dirs': ['include'],
  25. }
  26. moduleclass = 'data'