Skip to content

Commit

Permalink
voldemort 1.9.5
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#36425.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information
bfontaine authored and MikeMcQuaid committed Feb 1, 2015
1 parent 34bb15e commit 04fd18b
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions Formula/voldemort.rb
@@ -1,15 +1,17 @@
require 'formula'

class Voldemort < Formula
homepage 'http://project-voldemort.com/'
url 'https://github.com/voldemort/voldemort/archive/v1.4.0.tar.gz'
sha1 'f07b552d494b9b68d9c4e3561384bc932e7e7bd8'
homepage "http://project-voldemort.com/"
url "https://github.com/voldemort/voldemort/archive/release-1.9.5-cutoff.tar.gz"
sha1 "ac4db71aa4670054dadc80bbe09544192ddd0a6a"

depends_on :ant => :build
depends_on :java => "1.7+"

def install
system "ant"
libexec.install %w(bin lib dist contrib)
args = []
# ant on ML and below is too old to support 1.8
args << "-Dbuild.compiler=javac1.7" if MacOS.version < :mavericks
system "ant", *args
libexec.install %w[bin lib dist contrib]
libexec.install "config" => "config-examples"
(libexec/"config").mkpath

Expand All @@ -26,4 +28,9 @@ def caveats; <<-EOS.undent
or you can set VOL_CONF_DIR to a more reasonable path.
EOS
end

test do
ENV["VOLDEMORT_HOME"] = libexec
system "#{bin}/vadmin.sh"
end
end

0 comments on commit 04fd18b

Please sign in to comment.