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': 'ictce', 'version': '5.3.0'}
toolchainopts = {'opt': True}

sources = ['%s-%s.tar' % (name, version)]
source_urls = [homepage]

patches = ['fix_makefile.patch']

dependencies = [('JasPer', '1.900.1')]

# parallel build tends to fail
parallel = 1

moduleclass = 'data'
