homebrew-core/Formula/minc.rb

28 lines
709 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Minc < Formula
homepage 'http://en.wikibooks.org/wiki/MINC'
url 'https://github.com/downloads/BIC-MNI/minc/minc-2.1.12.tar.gz'
md5 '48ccd7dbc52a9301301f5abc370c3f8c'
head 'https://github.com/BIC-MNI/minc.git'
depends_on 'netcdf'
2012-07-07 18:08:22 +00:00
depends_on :automake
depends_on :libtool
fails_with :clang do
# TODO This is an easy fix, someone send it upstream!
build 318
cause "Throws 'non-void function 'miget_real_value_hyperslab' should return a value'"
end
def install
system "autoreconf", "--force", "--install"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end