riak-search 0.14.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
a85d217187
commit
81e7ac569a
1 changed files with 10 additions and 5 deletions
|
@ -1,10 +1,11 @@
|
|||
require 'formula'
|
||||
|
||||
class RiakSearch < Formula
|
||||
url 'http://downloads.basho.com/riak-search/riak-search-0.14/riak_search-0.14.0-osx-i386.tar.gz'
|
||||
url 'http://downloads.basho.com/riak-search/riak-search-0.14/riak_search-0.14.2.tar.gz'
|
||||
homepage 'http://riak.basho.com'
|
||||
md5 'afb34fdedd1899a972e47050888e18b9'
|
||||
version '0.14.0'
|
||||
md5 '4dc7cfbd2c985fcb1b73fc5ac8864031'
|
||||
|
||||
head 'https://github.com/basho/riak_search.git'
|
||||
|
||||
skip_clean 'libexec/log'
|
||||
skip_clean 'libexec/log/sasl'
|
||||
|
@ -16,12 +17,13 @@ class RiakSearch < Formula
|
|||
|
||||
def install
|
||||
ENV.deparallelize
|
||||
system "make all rel"
|
||||
%w(riaksearch riaksearch-admin search-cmd).each do |file|
|
||||
inreplace "bin/#{file}", /^RUNNER_BASE_DIR=.+$/, "RUNNER_BASE_DIR=#{libexec}"
|
||||
inreplace "rel/riaksearch/bin/#{file}", /^RUNNER_BASE_DIR=.+$/, "RUNNER_BASE_DIR=#{libexec}"
|
||||
end
|
||||
|
||||
# Install most files to private libexec, and link in the binaries.
|
||||
libexec.install Dir["*"]
|
||||
libexec.install Dir["rel/riaksearch/*"]
|
||||
|
||||
bin.mkpath
|
||||
ln_s libexec+'bin/riaksearch', bin
|
||||
|
@ -30,5 +32,8 @@ class RiakSearch < Formula
|
|||
|
||||
(prefix + 'data/ring').mkpath
|
||||
(prefix + 'data/dets').mkpath
|
||||
|
||||
# Install man pages
|
||||
man1.install Dir["doc/man/man1/*"]
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue