Permalink
Browse files

riemann-client (new formula)

A C-based Riemann client.

Closes Homebrew/legacy-homebrew#36697.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information...
dch authored and MikeMcQuaid committed Feb 9, 2015
1 parent 9c4f973 commit d56104b697c0cd887ffdd432e8775593f7e65efc
Showing with 25 additions and 0 deletions.
  1. +25 −0 Formula/riemann-client.rb
View
@@ -0,0 +1,25 @@
class RiemannClient < Formula
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"
sha1 "0b360e12839683a3a89caf2cd58a8fb1e337e19e"
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

0 comments on commit d56104b

Please sign in to comment.