name = 'g2lib' version = '1.4.0' homepage = 'http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2/' description = """Library contains GRIB2 encoder/decoder and search/indexing routines.""" toolchain = {'name': 'intel', 'version': '2018'} source_urls = [homepage] sources = ['%(name)s-%(version)s.tar'] patches = ['fix_makefile.patch'] dependencies = [ ('libpng', '1.6.32'), ('JasPer', '1.900.1'), ] buildopts = 'CFLAGS="$CFLAGS -DLINUXG95 -D__64BIT__" FFLAGS="$FFLAGS -fpp -I."' # parallel build tends to fail parallel = 1 moduleclass = 'data'