homebrew-core/Formula/ioping.rb

19 lines
392 B
Ruby
Raw Normal View History

require 'formula'
class Ioping < Formula
homepage 'http://code.google.com/p/ioping/'
url 'https://ioping.googlecode.com/files/ioping-0.8.tar.gz'
sha1 '7d4fe1414cdd5887c332426a8844e17eca5e5646'
2013-01-28 04:53:21 +00:00
head 'http://ioping.googlecode.com/svn/trunk/'
def install
system "make"
system "make", "install", "PREFIX=#{prefix}"
end
test do
system "#{bin}/ioping", "-v"
end
end