homebrew-core/Formula/nuttcp.rb

14 lines
369 B
Ruby
Raw Normal View History

require 'formula'
class Nuttcp < Formula
homepage 'http://www.nuttcp.net/nuttcp'
2012-09-04 02:57:34 +00:00
url 'http://lcp.nrl.navy.mil/nuttcp/nuttcp-6.1.2.tar.bz2'
sha1 '329fcc3c0b75db18b7b4d73962992603f9ace9ca'
def install
system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}"
2013-08-12 23:47:46 +00:00
bin.install "nuttcp-#{version}" => "nuttcp"
man8.install 'nuttcp.cat' => 'nuttcp.8'
end
end