From fde3b5bd5a21e6f30cfd73d46a0da649bf0f3cf0 Mon Sep 17 00:00:00 2001 From: Nicolas Brousse Date: Sun, 3 Jun 2012 00:59:34 -0700 Subject: sflowtool 3.27 Closes #12570. Signed-off-by: Adam Vandenberg --- Library/Formula/sflowtool.rb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Library/Formula/sflowtool.rb (limited to 'Library/Formula') diff --git a/Library/Formula/sflowtool.rb b/Library/Formula/sflowtool.rb new file mode 100644 index 000000000..ddb8fee17 --- /dev/null +++ b/Library/Formula/sflowtool.rb @@ -0,0 +1,19 @@ +require 'formula' + +class Sflowtool < Formula + homepage 'http://www.inmon.com/technology/sflowTools.php' + url 'http://www.inmon.com/bin/sflowtool-3.27.tar.gz' + sha1 '5205ef2df9cc0b1253765a27ea200446c4525642' + + def install + system "./configure", "--disable-dependency-tracking", + "--prefix=#{prefix}" + system "make" + system "make check" + system "make install" + end + + def test + system "#{bin}/sflowtool -h 2>&1 | grep version" + end +end -- cgit v1.2.3