homebrew-core/Formula/riak.rb
David James d21f8da483 riak 2.0.0-rc1
Closes Homebrew/homebrew#31035.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-07-21 18:48:26 -05:00

28 lines
934 B
Ruby

require "formula"
class Riak < Formula
homepage "http://basho.com/riak/"
url "http://s3.amazonaws.com/downloads.basho.com/riak/1.4/1.4.9/osx/10.8/riak-1.4.9-OSX-x86_64.tar.gz"
version "1.4.9"
sha256 "50dd4a423539ed309fc983820e9cfde250be2927efd85c3e8c0dff9281d63ab5"
devel do
url "http://s3.amazonaws.com/downloads.basho.com/riak/2.0/2.0.0rc1/osx/10.8/riak-2.0.0rc1-OSX-x86_64.tar.gz"
sha256 "785c93fb98ce2ab21ffc7644756bed95c9ba1eae46283536609fa93b0287909d"
version "2.0.0-rc1"
end
depends_on :macos => :mountain_lion
depends_on :arch => :x86_64
def install
libexec.install Dir["*"]
inreplace "#{libexec}/lib/env.sh" do |s|
s.change_make_var! "RUNNER_BASE_DIR", libexec
end
bin.write_exec_script libexec/"bin/riak"
bin.write_exec_script libexec/"bin/riak-admin"
bin.write_exec_script libexec/"bin/riak-debug"
bin.write_exec_script libexec/"bin/search-cmd"
end
end