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'
|
2013-03-29 20:29:20 +00:00
|
|
|
url 'https://github.com/BIC-MNI/minc/archive/release-2.2.00.tar.gz'
|
|
|
|
sha1 'f66f44ece374940bd006f321a7206f16165f74e0'
|
2012-02-21 20:08:30 +00:00
|
|
|
|
|
|
|
head 'https://github.com/BIC-MNI/minc.git'
|
|
|
|
|
2010-11-01 21:27:52 +00:00
|
|
|
depends_on 'netcdf'
|
2012-10-08 18:26:40 +00:00
|
|
|
depends_on 'hdf5'
|
2010-11-01 21:27:52 +00:00
|
|
|
|
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!
|
2012-10-08 18:26:40 +00:00
|
|
|
build 421
|
2012-03-18 20:33:24 +00:00
|
|
|
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-10-08 18:26:40 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
|
2010-11-01 21:27:52 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|