homebrew-core/Formula/nuttcp.rb
Andrew Janke 8a33bb5609 nuttcp: remove mirror with incompatible file type
Reverts 46e8c91bc8a2a789772b1a940d7b1c90ade0d575, which added the mirror, but with a .gz instead of a .bz2 file, so the SHAs differ

Closes Homebrew/homebrew#44057.

Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
2015-09-18 19:00:52 -07:00

24 lines
739 B
Ruby

class Nuttcp < Formula
desc "Network performance measurement tool"
homepage "http://www.nuttcp.net/nuttcp"
url "http://www.nuttcp.net/nuttcp/nuttcp-6.1.2.tar.bz2"
sha256 "054e96d9d68fe917df6f25fab15c7755bdd480f6420d7d48d9194a1a52378169"
bottle do
cellar :any
sha1 "95f9e698a06f16689483b342212bf09d61f31b8f" => :yosemite
sha1 "964e37122ffd9d1208d532c7bcc295a4a22071cb" => :mavericks
sha1 "7279df49a2e29d9c223cffd1f9cfc4b1a383a740" => :mountain_lion
end
def install
system "make", "APP=nuttcp",
"CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}"
bin.install "nuttcp"
man8.install "nuttcp.cat" => "nuttcp.8"
end
test do
assert_match version.to_s, shell_output("#{bin}/nuttcp -V")
end
end