homebrew-core/Formula/tcptunnel.rb

30 lines
1.4 KiB
Ruby

class Tcptunnel < Formula
desc "TCP port forwarder"
homepage "http://www.vakuumverpackt.de/tcptunnel/"
url "https://github.com/vakuum/tcptunnel/archive/v0.8.tar.gz"
sha256 "1926e2636d26570035a5a0292c8d7766c4a9af939881121660df0d0d4513ade4"
license "GPL-2.0"
bottle do
sha256 cellar: :any_skip_relocation, arm64_big_sur: "f551ae0b42199f7636702669a5f32d4fb6bafef330036e8b14f3cfda556a4d32"
sha256 cellar: :any_skip_relocation, big_sur: "65ab13dc5646735a64d821e3eab7f04a55bd0739b83b36769b3d0664de74ed80"
sha256 cellar: :any_skip_relocation, catalina: "e82c25ab68b43d632739d345b3ac1c3a6d22a9c8a51d44f9cfc3967e64469794"
sha256 cellar: :any_skip_relocation, mojave: "4084370b62478a4a3bc1943035542dd9b4d452b606ae9bf738bbc4fa53e19fd5"
sha256 cellar: :any_skip_relocation, high_sierra: "b70d7f63371b5a638fa4d2f0e1cc3f27995f3f20ca1aa1712bb711bb6c9b928c"
sha256 cellar: :any_skip_relocation, sierra: "8243b6410ae3d61df3d9c400be33c24b8da0fd0807161a02f38440c18d984661"
sha256 cellar: :any_skip_relocation, el_capitan: "e387a861c4a9ceb3014883c851cdc43a56eddba635e1d313d976095ff78bb686"
sha256 cellar: :any_skip_relocation, yosemite: "513995a3f0a331a06ac6531ddad6e1812a9c32add2252852c81d8abe6714c5aa"
end
def install
bin.mkpath
system "./configure", "--prefix=#{bin}"
system "make"
system "make", "install"
end
test do
system "#{bin}/tcptunnel", "--version"
end
end