homebrew-core/Formula/ucspi-tcp.rb
Ted Pennings 4cd0935be7 Convert all 'def test' formulae to 'test do'
Closes Homebrew/homebrew#26942.
Closes Homebrew/homebrew#26946.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-24 19:54:02 -08:00

24 lines
498 B
Ruby

require 'formula'
class UcspiTcp < Formula
homepage 'http://cr.yp.to/ucspi-tcp.html'
url 'http://cr.yp.to/ucspi-tcp/ucspi-tcp-0.88.tar.gz'
sha1 '793b4189795b563085602c030dd8aa0d206ddc0e'
def patches
"http://www.fefe.de/ucspi/ucspi-tcp-0.88-ipv6.diff19.bz2"
end
def install
(buildpath/'conf-home').unlink
(buildpath/'conf-home').write prefix
system "make"
system "make setup check"
share.install prefix/'man'
end
test do
system "tcpserver"
end
end