Add hdf5 and its dep, szip.

This commit is contained in:
Adam Vandenberg 2010-02-11 10:01:59 -08:00
parent 25b1ba7c62
commit 33147eeec4
2 changed files with 26 additions and 0 deletions

14
Formula/hdf5.rb Normal file
View file

@ -0,0 +1,14 @@
require 'formula'
class Hdf5 <Formula
url 'http://www.hdfgroup.org/ftp/HDF5/current/src/hdf5-1.8.4.tar.bz2'
homepage 'http://www.hdfgroup.org/HDF5/'
md5 'c13599cfff871948f4d00e19ac410b86'
depends_on 'szip'
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end
end

12
Formula/szip.rb Normal file
View file

@ -0,0 +1,12 @@
require 'formula'
class Szip <Formula
url 'http://www.hdfgroup.org/ftp/lib-external/szip/2.1/src/szip-2.1.tar.gz'
homepage 'http://www.hdfgroup.org/HDF5/release/obtain5.html#extlibs'
md5 '1e0621efa66c2e1b07d7659703df5ea8'
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end
end