From fef8f4308919915ae2bedfc237b5ee9ab6227429 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Tue, 25 Feb 2014 06:45:10 -0800 Subject: mahout: maven only needed for head builds --- Library/Formula/mahout.rb | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Library') diff --git a/Library/Formula/mahout.rb b/Library/Formula/mahout.rb index 31a7198ac..c274c510e 100644 --- a/Library/Formula/mahout.rb +++ b/Library/Formula/mahout.rb @@ -2,11 +2,14 @@ require 'formula' class Mahout < Formula homepage 'http://mahout.apache.org/' - head 'http://svn.apache.org/repos/asf/mahout/trunk' url 'http://apache.cs.utah.edu/mahout/0.9/mahout-distribution-0.9.tar.gz' sha1 'b0d192a33dcc3f00439bf2ffbc313c6ef47510c3' - depends_on 'maven' => :build + head do + url 'http://svn.apache.org/repos/asf/mahout/trunk' + depends_on 'maven' => :build + end + depends_on 'hadoop' def install @@ -15,7 +18,7 @@ class Mahout < Formula system 'mvn -DskipTests clean install' end - libexec.install %w[bin] + libexec.install "bin" if build.head? libexec.install Dir['buildtools/target/*.jar'] -- cgit v1.2.3