homebrew-core/Formula/ioping.rb

25 lines
795 B
Ruby
Raw Normal View History

class Ioping < Formula
desc "Tool to monitor I/O latency in real time"
homepage "https://github.com/koct9i/ioping"
url "https://github.com/koct9i/ioping/releases/download/v0.9/ioping-0.9.tar.gz"
sha256 "951e430875987c8cfe0ed85a0bcfe1081788121a34102eb6f7c91330c63a775d"
head "https://github.com/koct9i/ioping.git"
2013-01-28 04:53:21 +00:00
2015-04-01 09:24:56 +00:00
bottle do
cellar :any
sha256 "3e41312ac455f0901b365b8c60de6c55869cea417ce57960ed9affb9721690d0" => :yosemite
sha256 "e0c9fd5902a4147e866f38c4d4123f9133ad7cfbe10ab1f9d2e78a887ee0603a" => :mavericks
sha256 "a01eb9b7c2a39d65fcfc55a70be1333ec0f1df19ad2582dec81a6e40b7ab95c8" => :mountain_lion
end
def install
system "make"
system "make", "install", "PREFIX=#{prefix}"
end
test do
2015-04-03 08:55:40 +00:00
system "#{bin}/ioping", "-c", "1", testpath
end
end