2010-11-01 21:27:52 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Minc < Formula
|
2012-02-21 20:08:30 +00:00
|
|
|
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'
|
|
|
|
|
2010-11-01 21:27:52 +00:00
|
|
|
depends_on 'netcdf'
|
|
|
|
|
2012-07-07 18:08:22 +00:00
|
|
|
depends_on :automake
|
|
|
|
depends_on :libtool
|
2012-02-21 20:08:30 +00:00
|
|
|
|
2012-03-18 20:33:24 +00:00
|
|
|
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
|
|
|
|
|
2010-11-01 21:27:52 +00:00
|
|
|
def install
|
2012-05-15 22:33:58 +00:00
|
|
|
system "autoreconf", "--force", "--install"
|
2012-02-21 20:08:30 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2010-11-01 21:27:52 +00:00
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|