blob: 6160dfaafd8cd4d420e433058c4879ff6b71acf8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
|