blob: 6207c613fbbe06bd997b81e714f0175567d5c149 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 | class Ioping < Formula
  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"
  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
    system "#{bin}/ioping", "-c", "1", testpath
  end
end
 |