diff options
| author | Charlie Sharpsteen | 2010-05-07 19:13:11 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-05-07 21:12:47 -0700 |
| commit | b4c2f73d81b38dbbda63d5e92ae2512008649cbc (patch) | |
| tree | fed4bb3347598ca9d1286e10e4c5d2881231112b /Library/Formula | |
| parent | 6f656c7594ece95186ef624d149c2d07dbfa3680 (diff) | |
| download | homebrew-b4c2f73d81b38dbbda63d5e92ae2512008649cbc.tar.bz2 | |
Updated netcdf to version 4.1.1
- NetCDF brew updated to version 4.1.1.
- Now builds against HDF5 for interoperability.
- ENV.m32 removed and builds x86_64 native on Snow Leopard
(tested on 10.6.3)
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/netcdf.rb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/netcdf.rb b/Library/Formula/netcdf.rb new file mode 100644 index 000000000..fb00df046 --- /dev/null +++ b/Library/Formula/netcdf.rb @@ -0,0 +1,21 @@ +require 'formula' + +class Netcdf <Formula + url 'http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-4.1.1.tar.gz' + homepage 'http://www.unidata.ucar.edu/software/netcdf/' + md5 '79c5ff14c80d5e18dd8f1fceeae1c8e1' + + depends_on 'hdf5' + depends_on 'szip' + + def install + hdf5 = Formula.factory('hdf5') + szip = Formula.factory('szip') + + system "./configure", "--prefix=#{prefix}", + "--disable-dependency-tracking", + "--with-szip=#{szip.prefix}", + "--with-hdf5=#{hdf5.prefix}" + system "make install" + end +end |
