diff options
| author | Todd Persen | 2014-11-16 20:01:24 -0500 |
|---|---|---|
| committer | Mike McQuaid | 2014-11-18 08:42:21 +0000 |
| commit | bc3b3d39fe20d511c3addd3a742f5009b7aa05a4 (patch) | |
| tree | 393e6fb1f7ce2f61708bcfe08e4ed8300c4b90a8 /Library/Formula | |
| parent | dab638b5a83990217f0c8a974bc2c5242eb51dce (diff) | |
| download | homebrew-bc3b3d39fe20d511c3addd3a742f5009b7aa05a4.tar.bz2 | |
influxdb 0.8.6
Closes #34245.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/influxdb.rb | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Library/Formula/influxdb.rb b/Library/Formula/influxdb.rb index 4d3662aa4..6966445be 100644 --- a/Library/Formula/influxdb.rb +++ b/Library/Formula/influxdb.rb @@ -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" |
