aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorKyungdahm Yun2013-01-12 02:12:04 +0900
committerAdam Vandenberg2013-01-19 15:16:12 -0800
commitd677e4722c0ca120758b2f5b23ec13310cbdb6d6 (patch)
treee114247abcc1e8697ce0dda0cb2a680e6b1d2ac6 /Library
parent9b173745e4341200721c6200a583d66c8c2b1433 (diff)
downloadhomebrew-d677e4722c0ca120758b2f5b23ec13310cbdb6d6.tar.bz2
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 <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/radx.rb27
1 files changed, 27 insertions, 0 deletions
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