2011-12-17 14:12:00 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Ioping < Formula
|
|
|
|
homepage 'http://code.google.com/p/ioping/'
|
2013-12-30 19:23:43 +00:00
|
|
|
url 'https://ioping.googlecode.com/files/ioping-0.8.tar.gz'
|
|
|
|
sha1 '7d4fe1414cdd5887c332426a8844e17eca5e5646'
|
2011-12-17 14:12:00 +00:00
|
|
|
|
2013-01-28 04:53:21 +00:00
|
|
|
head 'http://ioping.googlecode.com/svn/trunk/'
|
|
|
|
|
2011-12-17 14:12:00 +00:00
|
|
|
def install
|
|
|
|
system "make"
|
2012-05-15 18:31:21 +00:00
|
|
|
system "make", "install", "PREFIX=#{prefix}"
|
2011-12-17 14:12:00 +00:00
|
|
|
end
|
2013-07-10 18:45:43 +00:00
|
|
|
|
|
|
|
def test
|
|
|
|
system "#{bin}/ioping", "-v"
|
|
|
|
end
|
2011-12-17 14:12:00 +00:00
|
|
|
end
|