Skip to content
This repository
Browse code

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)
  • Loading branch information...
commit b4c2f73d81b38dbbda63d5e92ae2512008649cbc 1 parent 6f656c7
Charlie Sharpsteen authored adamv committed

Showing 1 changed file with 21 additions and 0 deletions. Show diff stats Hide diff stats

  1. 21  Library/Formula/netcdf.rb
21  Library/Formula/netcdf.rb
... ...
@@ -0,0 +1,21 @@
  1
+require 'formula'
  2
+
  3
+class Netcdf <Formula
  4
+  url 'http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-4.1.1.tar.gz'
  5
+  homepage 'http://www.unidata.ucar.edu/software/netcdf/'
  6
+  md5 '79c5ff14c80d5e18dd8f1fceeae1c8e1'
  7
+
  8
+  depends_on 'hdf5'
  9
+  depends_on 'szip'
  10
+
  11
+  def install
  12
+    hdf5 = Formula.factory('hdf5')
  13
+    szip = Formula.factory('szip')
  14
+
  15
+    system "./configure", "--prefix=#{prefix}",
  16
+                          "--disable-dependency-tracking",
  17
+                          "--with-szip=#{szip.prefix}",
  18
+                          "--with-hdf5=#{hdf5.prefix}"
  19
+    system "make install"
  20
+  end
  21
+end

0 notes on commit b4c2f73

Please sign in to comment.
Something went wrong with that request. Please try again.