homebrew-core/Formula/sflowtool.rb
Nicolas Brousse eabec8b6b8 sflowtool 3.27
Closes Homebrew/homebrew#12570.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-29 09:47:01 -07:00

19 lines
480 B
Ruby

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