From d677e4722c0ca120758b2f5b23ec13310cbdb6d6 Mon Sep 17 00:00:00 2001 From: Kyungdahm Yun Date: Sat, 12 Jan 2013 02:12:04 +0900 Subject: Radx 20121120 The Radx C++ package was developed at NCAR to provide support for the new CfRadial radar data format, and to provide translation between common radar data formats. Closes #17014. Signed-off-by: Adam Vandenberg --- Library/Formula/radx.rb | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Library/Formula/radx.rb (limited to 'Library/Formula') diff --git a/Library/Formula/radx.rb b/Library/Formula/radx.rb new file mode 100644 index 000000000..6160dfaaf --- /dev/null +++ b/Library/Formula/radx.rb @@ -0,0 +1,27 @@ +require 'formula' + +class Radx < Formula + homepage 'http://www.ral.ucar.edu/projects/titan/docs/radial_formats/radx.html' + url 'ftp://ftp.rap.ucar.edu/pub/titan/radx/Radx-20121120.src.tgz' + version '20121120' + sha1 '2c0ffa04c0f6b942fb2de1ec35256f857b5d2d63' + + depends_on 'hdf5' + depends_on 'udunits' + depends_on 'netcdf' => 'enable-cxx-compat' + depends_on 'fftw' + + fails_with :clang do + build 421 + cause "DsMdvx/msg_add.cc:516:11: error: '_printVsectWayPtsBuf' is a protected member of 'Mdvx'" + end + + def install + system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" + system "make install" + end + + def test + system "#{bin}/RadxPrint", "-h" + end +end -- cgit v1.2.3