mahout 0.10.0

Closes Homebrew/homebrew#38948.
Closes Homebrew/homebrew#38959.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Samuel Nilsson 2015-04-22 20:25:19 +02:00 committed by Mike McQuaid
parent fe65c52edf
commit 8007fa64ae

View file

@ -1,20 +1,21 @@
require 'formula'
class Mahout < Formula
homepage 'http://mahout.apache.org/'
url 'http://apache.cs.utah.edu/mahout/0.9/mahout-distribution-0.9.tar.gz'
sha1 'b0d192a33dcc3f00439bf2ffbc313c6ef47510c3'
homepage 'https://mahout.apache.org/'
url 'http://apache.cs.utah.edu/mahout/0.10.0/mahout-distribution-0.10.0.tar.gz'
sha1 'c8dcb51a04eb026eb9fd0fe6cb496cb101cf632d'
head do
url 'http://svn.apache.org/repos/asf/mahout/trunk'
url 'https://svn.apache.org/repos/asf/mahout/trunk'
depends_on 'maven' => :build
end
depends_on 'hadoop'
depends_on :java
def install
if build.head?
system 'chmod 755 ./bin'
chmod 755, './bin'
system 'mvn -DskipTests clean install'
end