homebrew-core/Formula/udptunnel.rb

31 lines
1.1 KiB
Ruby

class Udptunnel < Formula
desc "Tunnel UDP packets over a TCP connection"
homepage "http://www.cs.columbia.edu/~lennox/udptunnel"
url "http://www.cs.columbia.edu/~lennox/udptunnel/udptunnel-1.1.tar.gz"
sha256 "45c0e12045735bc55734076ebbdc7622c746d1fe4e6f7267fa122e2421754670"
bottle do
cellar :any_skip_relocation
sha256 "c129b87c78c3297365d7e78b77985b69deb4def8d030b029d812bb25610b8bb0" => :sierra
sha256 "acbc74c384071aa6be92bea754274c5025de0123afd389d1b174e444a7beec42" => :el_capitan
sha256 "8c4b8fb805fa94098925417a8fa61ced0d546b1b77330fd03cd5a72ee6e43b70" => :yosemite
sha256 "8f0051f653f62bef0e85f8ced4806a8bae244a911e05129e4fc2bf05912c9412" => :mavericks
end
depends_on "autoconf" => :build
depends_on "automake" => :build
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
doc.install "udptunnel.html"
end
test do
system "#{bin}/udptunnel -h; true"
end
end