g2lib-3.2.0-GCCcore-11.2.0.eb 920 B

1234567891011121314151617181920212223242526272829303132
  1. name = 'g2lib'
  2. version = '3.2.0'
  3. homepage = 'https://www.nco.ncep.noaa.gov/pmb/codes/GRIB2/'
  4. description = """Library contains GRIB2 encoder/decoder and search/indexing routines."""
  5. toolchain = {'name': 'GCCcore', 'version': '11.2.0'}
  6. source_urls = [homepage]
  7. sources = ['%(name)s-%(version)s.tar']
  8. patches = [
  9. '%(name)s-%(version)s_makefile.patch',
  10. ]
  11. checksums = [
  12. '9d3866de32e13e80798bfb08dbbea9223f32cec3fce3c57b6838e76f27d5a1d3', # g2lib-3.2.0.tar
  13. 'e434394a6ec8bd68dbd57e3fdb44c47372b07380e362ed955bb038b78dd81812', # g2lib-3.2.0_makefile.patch
  14. ]
  15. builddependencies = [('binutils', '2.37')]
  16. dependencies = [
  17. ('JasPer', '2.0.33'),
  18. ('libpng', '1.6.37'),
  19. ]
  20. buildopts = 'CFLAGS="$CFLAGS -DLINUXG95 -D__64BIT__" FC=$FC CC=$CC '
  21. buildopts += 'FFLAGS="$FFLAGS -fno-range-check -fallow-invalid-boz -fallow-argument-mismatch -I."'
  22. # parallel build tends to fail
  23. parallel = 1
  24. moduleclass = 'data'