g2lib-3.1.0-GCCcore-10.2.0.eb 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. name = 'g2lib'
  2. version = '3.1.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': '10.2.0'}
  6. source_urls = [homepage]
  7. sources = ['%(name)s-%(version)s.tar']
  8. patches = [
  9. '%(name)s-%(version)s_makefile.patch',
  10. '%(name)s-%(version)s-kind.patch',
  11. '%(name)s-1.4.0-with-JasPer-2.x.patch',
  12. '%(name)s-%(version)s-int.patch',
  13. ]
  14. checksums = [
  15. '8a2de259de82094c5867f8d7945359f211592a4a503f9ed65dc60469337414e7', # g2lib-3.1.0.tar
  16. '702f76c77638fb36b662caf96890a69f19c507778c92aa1e163898b150cc8282', # g2lib-3.1.0_makefile.patch
  17. '6412022d37a470e38e4f2c4b7b6bd7cbb9581027b5ff187f4379b7dc0d72cbb5', # g2lib-3.1.0-kind.patch
  18. 'cd4c668dab76ef3b61fa902c2eed24747517d4cbc3ec0aaffab37e6b80946170', # g2lib-1.4.0-with-JasPer-2.x.patch
  19. ]
  20. builddependencies = [('binutils', '2.35')]
  21. dependencies = [
  22. ('JasPer', '2.0.24'),
  23. ('libpng', '1.6.37'),
  24. ]
  25. buildopts = 'CFLAGS="$CFLAGS -DLINUXG95 -D__64BIT__" FFLAGS="$FFLAGS -fno-range-check -fallow-argument-mismatch -I." FC=$FC CC=$CC'
  26. # parallel build tends to fail
  27. parallel = 1
  28. moduleclass = 'data'