diff options
| author | Dave Cottlehuber | 2015-02-09 14:22:22 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2015-02-10 13:53:46 +0000 |
| commit | 71361820c1b5733adf96d410e701884bc87578b2 (patch) | |
| tree | 811800ba994d1eef366609792482e0bebf288e7b /Library/Formula | |
| parent | f709bfbbf6d2159431c4568ef1c20b531569aacd (diff) | |
| download | homebrew-71361820c1b5733adf96d410e701884bc87578b2.tar.bz2 | |
riemann-client (new formula)
A C-based Riemann client.
Closes #36697.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/riemann-client.rb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Library/Formula/riemann-client.rb b/Library/Formula/riemann-client.rb new file mode 100644 index 000000000..e2d632da8 --- /dev/null +++ b/Library/Formula/riemann-client.rb @@ -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 |
