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': 'foss', 'version': '2017b'} source_urls = [homepage] sources = ['%(name)s-%(version)s.tar'] patches = ['fix_makefile.patch'] checksums = [ '50ed657f7395377aa8de1097e62d5be68f48e90dc859766cffddb39a909cc7b3', # g2lib-1.4.0.tar 'bee2e6b53a5cd6a81c13735900c4ac9e3ce05bd06cda68b56b1bd51b4da7efd8', # fix_makefile.patch ] dependencies = [ ('JasPer', '1.900.1'), ('libpng', '1.6.32'), ] buildopts = 'CFLAGS="$CFLAGS -DLINUXG95 -D__64BIT__" FFLAGS="$FFLAGS -cpp -I."' # parallel build tends to fail parallel = 1 moduleclass = 'data'