29 lines
1 KiB
Ruby
29 lines
1 KiB
Ruby
class FluentBit < Formula
|
|
desc "Data Collector for IoT"
|
|
homepage "https://github.com/fluent/fluent-bit"
|
|
url "https://github.com/fluent/fluent-bit/archive/v0.11.7.tar.gz"
|
|
sha256 "13b9266dd9dc3756b6309bdb7b22da9f434359ee94dfabb8148c4dea44dbe51c"
|
|
head "https://github.com/fluent/fluent-bit.git"
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha256 "7a515802f8fe140c2e0a28ec27e0bfca178952ea83bc6c3c3ed0650c3eb51467" => :sierra
|
|
sha256 "d623cd8e214644d3a4b3da12c56282297c5c370fc3880c6c6e38d3cb3f70bb9e" => :el_capitan
|
|
sha256 "ef211dc6a2b0729a44c0d82b335dff71d67dd29a42ce46e964b6140d02c0c40f" => :yosemite
|
|
end
|
|
|
|
depends_on "cmake" => :build
|
|
|
|
conflicts_with "mbedtls", :because => "fluent-bit includes mbedtls libraries."
|
|
conflicts_with "msgpack", :because => "fluent-bit includes msgpack libraries."
|
|
|
|
def install
|
|
system "cmake", ".", "-DWITH_IN_MEM=OFF", *std_cmake_args
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
output = shell_output("#{bin}/fluent-bit -V").chomp
|
|
assert_equal "Fluent Bit v#{version}", output
|
|
end
|
|
end
|