Skip to content

Commit

Permalink
riak (devel) 2.0.0-pre5
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#23745.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
brettkoonce authored and adamv committed Nov 5, 2013
1 parent 24d0f5b commit 5ea7f57
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions Formula/riak.rb
Expand Up @@ -6,13 +6,23 @@ class Riak < Formula
version '1.4.2'
sha256 '2accc58a0ea2f7bd3edc31c934edb0bff6a1535994607fd6cec9c6bbefcf2abf'

devel do
url 'http://s3.amazonaws.com/downloads.basho.com/riak/2.0/2.0.0pre5/osx/10.8/riak-2.0.0pre5-OSX-x86_64.tar.gz'
sha1 '2394a7244329b60afd87307e3362d784a1611689'
version '2.0.0-pre5'
end

depends_on :macos => :mountain_lion
depends_on :arch => :x86_64

def install
prefix.install Dir['*']
inreplace Dir["#{lib}/env.sh"] do |s|
s.change_make_var! "RUNNER_BASE_DIR", prefix
libexec.install Dir['*']
inreplace Dir["#{libexec}/lib/env.sh"] do |s|
s.change_make_var! "RUNNER_BASE_DIR", prefix/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

0 comments on commit 5ea7f57

Please sign in to comment.