influxdb 0.8.6
Closes Homebrew/homebrew#34245. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
3280e05723
commit
3c6e426ece
1 changed files with 8 additions and 3 deletions
|
@ -2,8 +2,8 @@ require "formula"
|
|||
|
||||
class Influxdb < Formula
|
||||
homepage "http://influxdb.com"
|
||||
url "https://s3.amazonaws.com/get.influxdb.org/influxdb-0.8.5.src.tar.gz"
|
||||
sha1 "bbb361db2e54686c90cbf5ec253d1a89c170ca75"
|
||||
url "https://s3.amazonaws.com/get.influxdb.org/influxdb-0.8.6.src.tar.gz"
|
||||
sha1 "9668d1a457ffe6bac7dc78c5bc0771428e50f119"
|
||||
|
||||
bottle do
|
||||
sha1 "4b6fa7d8ba82b2bcc30ca10689786785f1b0070e" => :yosemite
|
||||
|
@ -19,6 +19,7 @@ class Influxdb < Formula
|
|||
depends_on "flex" => :build
|
||||
depends_on "go" => :build
|
||||
depends_on "gawk" => :build
|
||||
depends_on :hg => :build
|
||||
|
||||
def install
|
||||
ENV["GOPATH"] = buildpath
|
||||
|
@ -27,7 +28,11 @@ class Influxdb < Formula
|
|||
flex = Formula["flex"].bin/"flex"
|
||||
bison = Formula["bison"].bin/"bison"
|
||||
|
||||
system "./configure", "--with-flex=#{flex}", "--with-bison=#{bison}"
|
||||
inreplace "configure" do |s|
|
||||
s.gsub! "echo -n", "$as_echo_n"
|
||||
end
|
||||
|
||||
system "./configure", "--with-flex=#{flex}", "--with-bison=#{bison}", "--with-rocksdb"
|
||||
system "make", "parser", "protobuf"
|
||||
system "go", "build", "-tags", "rocksdb", "-o", "influxdb", "github.com/influxdb/influxdb/daemon"
|
||||
|
||||
|
|
Loading…
Reference in a new issue