name = 'Ferret'
version = '6.72'

homepage = 'http://ferret.pmel.noaa.gov/'
description = """Ferret is an interactive computer visualization and analysis environment
designed to meet the needs of oceanographers and meteorologists analyzing large and complex gridded data sets."""

toolchain = {'name': 'goalf', 'version': '1.1.0-no-OFED'}
toolchainopts = {'usempi': True}

sources = ['fer_source.v%s.tar.gz' % ''.join(version.split('.'))]
source_urls = ['ftp://ftp.pmel.noaa.gov/ferret/pub/source']

dependencies = [
    ('netCDF', '4.1.3'),
    ('zlib', '1.2.7'),
    ('Szip', '2.1'),
    ('cURL', '7.27.0'),
    ('ncurses', '5.9'),
    ('libreadline', '6.2'),
    ('Java', '1.7.0_10', '', True),
]

parallel = 1

patches = ['Ferret-lib64-hardcoded.patch']

buildopts = 'LD="$CC"'

moduleclass = 'vis'
