diff options
| author | Adam Vandenberg | 2012-02-12 11:21:01 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-02-12 20:09:01 -0800 |
| commit | 722db3a590ae44a93cc967951c745c3f4c584043 (patch) | |
| tree | d1c1055a28b981d0e8b084126e684a5209e9d2bb /Library | |
| parent | cf352a0ea529f57bad7f93935634f40f2318e1ce (diff) | |
| download | homebrew-722db3a590ae44a93cc967951c745c3f4c584043.tar.bz2 | |
riak: use install_symlink
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/riak.rb | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/Library/Formula/riak.rb b/Library/Formula/riak.rb index 17ba3a9d9..8cb603e96 100644 --- a/Library/Formula/riak.rb +++ b/Library/Formula/riak.rb @@ -1,8 +1,8 @@ require 'formula' class Riak < Formula - url 'http://downloads.basho.com/riak/riak-1.0.3/riak-1.0.3.tar.gz' homepage 'http://wiki.basho.com/Riak.html' + url 'http://downloads.basho.com/riak/riak-1.0.3/riak-1.0.3.tar.gz' md5 '433d2cb0c6eba0b6d374d9d37f7f54fe' head 'https://github.com/basho/riak.git' @@ -15,9 +15,7 @@ class Riak < Formula depends_on 'erlang' - # Enable use of Erlang R14B04 - # This was fixed upstream, so when updating the version of Riak - # check if this fix is already in place. + # Enable use of Erlang R14B04; fixed in the upstream 1.1.0 pre-release. def patches; DATA; end def install @@ -29,10 +27,9 @@ class Riak < Formula # Install most files to private libexec, and link in the binaries. libexec.install Dir["rel/riak/*"] - bin.mkpath - ln_s libexec+'bin/riak', bin - ln_s libexec+'bin/riak-admin', bin - ln_s libexec+'bin/search-cmd', bin + bin.install_symlink libexec+'bin/riak', + libexec+'bin/riak-admin', + libexec+'bin/search-cmd' (prefix + 'data/ring').mkpath (prefix + 'data/dets').mkpath |
