aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorUlrik Landberg Stephansen2012-02-21 21:08:30 +0100
committerAdam Vandenberg2012-03-25 18:27:32 -0700
commit00e7901d0e6072e3b3f8b435ad3ba8b77fb94d1e (patch)
treeb46d46c4e93e437bedbcb0c18ea7e648abc89b0b /Library/Formula
parent53371ad351c1ed8aa4337e7334476a5bc3ed108b (diff)
downloadhomebrew-00e7901d0e6072e3b3f8b435ad3ba8b77fb94d1e.tar.bz2
MINC 2.1.12
Closes #10374. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/minc.rb18
1 files changed, 14 insertions, 4 deletions
diff --git a/Library/Formula/minc.rb b/Library/Formula/minc.rb
index e6574749a..89373181d 100644
--- a/Library/Formula/minc.rb
+++ b/Library/Formula/minc.rb
@@ -1,14 +1,24 @@
require 'formula'
class Minc < Formula
- url 'http://packages.bic.mni.mcgill.ca/tgz/minc-2.1.00.tar.gz'
- homepage 'http://www.nmr.mgh.harvard.edu/~rhoge/minc/'
- md5 '1ef2402abc8f49d870d9f610eb5ad4c8'
+ 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'
+
+ #fails_with_clang "Throws 'non-void function 'miget_real_value_hyperslab' should return a value' error during build.", :build => 318
depends_on 'netcdf'
+ if MacOS.xcode_version >= "4.3"
+ depends_on "automake" => :build
+ depends_on "libtool" => :build
+ end
+
def install
- system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ system "autoreconf", "--force", "--instal"
+ system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end