aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2014-02-25 06:45:10 -0800
committerAdam Vandenberg2014-02-25 06:45:10 -0800
commitfef8f4308919915ae2bedfc237b5ee9ab6227429 (patch)
treee1d49d42457ba6a0c427ae5791cffcc5f96e423a /Library
parent66f3bf577b241a88f6d1a138c93120a9445606ac (diff)
downloadhomebrew-fef8f4308919915ae2bedfc237b5ee9ab6227429.tar.bz2
mahout: maven only needed for head builds
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mahout.rb9
1 files changed, 6 insertions, 3 deletions
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']