# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
maintainers {takeshi @tenomoto}
description API and tools for decoding and encoding GRIB, BUFR and GTS formats
homepage https://confluence.ecmwf.int/display/ECC
master_sites https://confluence.ecmwf.int/download/attachments/45757960
distname eccodes-${version}-Source
checksums rmd160 f3f6a34fdc521676d6e1069e4741e894d6db174f \
sha256 0c14cb222f18a0357fd996f0802867c54500765836a8fa0aaedb92671973e614 \
ecCodes is a package developed by ECMWF which provides an application programming interface and \
a set of tools for decoding and encoding messages in the following formats: \
\n* WMO FM-92 GRIB edition 1 and edition 2 \
\n* WMO FM-94 BUFR edition 3 and edition 4 \
\n* WMO GTS abbreviated header (only decoding).
if [fortran_variant_isset] {
compilers.choose cc fc f77 f90
compilers.setup -clang33 -clang34
depends_lib port:jasper \
-DAEC_PATH=${prefix}/lib/libaec \
-DJASPER_INCLUDE_DIR=${prefix}/include \
-DJASPER_LIBRARY_RELEASE=${prefix}/lib/libjasper.dylib \
-DNETCDF_CONFIG_EXECUTABLE=${prefix}/bin/nc-config \
-DOPENJPEG_INCLUDE_DIR=${prefix}/include/openjpeg-1.5 \
-DOPENJPEG_LIBRARY=${prefix}/lib/libopenjpeg.dylib \
-DZLIB_INCLUDE_DIR=${prefix}/include \
-DZLIB_LIBRARY=${prefix}/lib/libz.dylib
if {[variant_isset g95]} {