# -*- 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 Interpolation library
homepage https://software.ecmwf.int/wiki/display/EMOS
master_sites https://software.ecmwf.int/wiki/download/attachments/3473472
distname ${name}-${version}-Source
checksums rmd160 d26b0fc6baaa4a8172d03165b23d10f53bc81438 \
sha256 572f5e25c602ae8eab678fac764f51f21527412bcec38dbf5e8a255cfdac602b
The Interpolation library (EMOSLIB) includes Interpolation software \
and BUFR & CREX encoding/decoding routines.
compilers.choose fc f77 f90
compilers.setup -clang -g95
patchfiles patch-libemos-dp-CMakeLists.txt.diff \
patch-libemos-sp-CMakeLists.txt.diff \
patch-tools-bufrtools_wmo-CMakeLists.txt.diff
depends_lib port:fftw-3 \
compilers.enforce_fortran \
if {![fortran_variant_isset]} {
ln -s ${prefix}/lib/libemos.a ${destroot}${prefix}/lib/libemos.R32.D64.I32.a
ln -s ${prefix}/lib/libemosR64.a ${destroot}${prefix}/lib/libemos.D64.D64.I32.a
livecheck.url ${homepage}
livecheck.regex {libemos-([0-9]\.[0-9]\.[0-9])-Source.tar.gz}