2011-12-17 14:12:00 +00:00
|
|
|
class Ioping < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Tool to monitor I/O latency in real time"
|
2015-04-01 07:17:44 +00:00
|
|
|
homepage "https://github.com/koct9i/ioping"
|
|
|
|
url "https://github.com/koct9i/ioping/releases/download/v0.9/ioping-0.9.tar.gz"
|
|
|
|
sha256 "951e430875987c8cfe0ed85a0bcfe1081788121a34102eb6f7c91330c63a775d"
|
2011-12-17 14:12:00 +00:00
|
|
|
|
2015-04-01 07:17:44 +00:00
|
|
|
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
|
|
|
|
|
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
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2015-04-03 08:55:40 +00:00
|
|
|
system "#{bin}/ioping", "-c", "1", testpath
|
2013-07-10 18:45:43 +00:00
|
|
|
end
|
2011-12-17 14:12:00 +00:00
|
|
|
end
|