g2lib-1.4.0-foss-2017b.eb 752 B

123456789101112131415161718192021222324252627
  1. name = 'g2lib'
  2. version = '1.4.0'
  3. homepage = 'http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2/'
  4. description = """Library contains GRIB2 encoder/decoder and search/indexing routines."""
  5. toolchain = {'name': 'foss', 'version': '2017b'}
  6. source_urls = [homepage]
  7. sources = ['%(name)s-%(version)s.tar']
  8. patches = ['fix_makefile.patch']
  9. checksums = [
  10. '50ed657f7395377aa8de1097e62d5be68f48e90dc859766cffddb39a909cc7b3', # g2lib-1.4.0.tar
  11. 'bee2e6b53a5cd6a81c13735900c4ac9e3ce05bd06cda68b56b1bd51b4da7efd8', # fix_makefile.patch
  12. ]
  13. dependencies = [
  14. ('JasPer', '1.900.1'),
  15. ('libpng', '1.6.32'),
  16. ]
  17. buildopts = 'CFLAGS="$CFLAGS -DLINUXG95 -D__64BIT__" FFLAGS="$FFLAGS -cpp -I."'
  18. # parallel build tends to fail
  19. parallel = 1
  20. moduleclass = 'data'