homebrew-core/Formula/riemann-client.rb
BrewTestBot 95884bae22 Formula files style updates.
Closes Homebrew/homebrew#42407.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 14:21:42 +01:00

33 lines
980 B
Ruby

class RiemannClient < Formula
desc "C client library for the Riemann monitoring system"
homepage "https://github.com/algernon/riemann-c-client"
url "https://github.com/algernon/riemann-c-client/archive/riemann-c-client-1.3.0.tar.gz"
sha256 "64bb7ccdb6d7267110932feddcd8c3149588baf3227b05c330bfef97347be995"
bottle do
cellar :any
sha1 "348a16b5fb7d400481de3109f147cfe198cf2717" => :yosemite
sha1 "12cd20d92512f4fb1f8b559da06fa88f78e267e5" => :mavericks
sha1 "9c3e0cf990883eec78f9cc51f42407cc80f832cc" => :mountain_lion
end
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "pkg-config" => :build
depends_on "libtool" => :build
depends_on "json-c"
depends_on "protobuf-c"
def install
system "autoreconf", "-i"
system "./configure", "--prefix=#{prefix}"
system "make"
system "make", "check"
system "make", "install"
end
test do
system "#{bin}/riemann-client", "send", "-h"
end
end