h5utils 1.12.1
Closes Homebrew/homebrew#17378. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
7b290417c8
commit
6e7f21b251
1 changed files with 24 additions and 0 deletions
24
Formula/h5utils.rb
Normal file
24
Formula/h5utils.rb
Normal file
|
@ -0,0 +1,24 @@
|
|||
require 'formula'
|
||||
|
||||
class H5utils < Formula
|
||||
homepage 'http://ab-initio.mit.edu/wiki/index.php/H5utils'
|
||||
url 'http://ab-initio.mit.edu/h5utils/h5utils-1.12.1.tar.gz'
|
||||
sha1 '1bd8ef8c50221da35aafb5424de9b5f177250d2d'
|
||||
|
||||
depends_on :libpng
|
||||
depends_on 'hdf5'
|
||||
|
||||
# A patch is required in order to build h5utils with libpng 1.5
|
||||
def patches
|
||||
{:p0 =>
|
||||
"https://trac.macports.org/export/102291/trunk/dports/science/h5utils/files/patch-writepng.c"
|
||||
}
|
||||
end
|
||||
|
||||
def install
|
||||
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}",
|
||||
"--without-octave"
|
||||
system "make install"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue