homebrew-core/Formula/lft.rb
2017-02-23 23:10:03 -08:00

23 lines
846 B
Ruby

class Lft < Formula
desc "Layer Four Traceroute (LFT), an advanced traceroute tool"
homepage "https://pwhois.org/lft/"
url "https://pwhois.org/dl/index.who?file=lft-3.77.tar.gz"
sha256 "d182d6774e64dcdeb19ed1a598fa588e57ddb6cbb6847d9277c405d3a4597d89"
bottle do
cellar :any_skip_relocation
sha256 "cf7e88c74aeb7ffaabd9e417ec4ae308ab590d9f3504ff91affa2310c5b64fda" => :sierra
sha256 "ba0daf2f7061bb4627c931ffc8f5d80f9941727fd575576e37bca6acf7e65904" => :el_capitan
sha256 "b7356272883fe608b6c5f56ed4ac468edc234f842a7f0307079720f06226a886" => :yosemite
end
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end
test do
assert_match version.to_s, shell_output("#{bin}/lft -v 2>&1")
end
end