homebrew-core/Formula/tracebox.rb
Mike McQuaid 512758e6eb Rubocop 0.57.1 style fixes (#28754)
Realign trailing EOS.
2018-06-09 01:27:43 -07:00

47 lines
1.3 KiB
Ruby

class Tracebox < Formula
desc "Middlebox detection tool"
homepage "https://www.tracebox.org/"
url "https://github.com/tracebox/tracebox.git",
:tag => "v0.4.4",
:revision => "4fc12b2e330e52d340ecd64b3a33dbc34c160390"
revision 1
head "https://github.com/tracebox/tracebox.git"
bottle do
cellar :any
sha256 "e3e8333e7674ff8829df657bd759353fecc45c6d982afbc33cf35774a6ec23ec" => :high_sierra
sha256 "52a3ff0ecd8903cee1be17802dfe0624dc89858088354132496a241ea4207561" => :sierra
sha256 "2c0b3b4bb42d38aafdb702f3b7a5e514588ce75dd5dc459368d40273332b3a7d" => :el_capitan
end
needs :cxx11
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on "lua"
depends_on "json-c"
def install
ENV.libcxx
system "autoreconf", "--install"
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make"
system "make", "install"
end
def caveats; <<~EOS
Tracebox requires superuser privileges e.g. run with sudo.
You should be certain that you trust any software you are executing with
elevated privileges.
EOS
end
test do
system bin/"tracebox", "-v"
end
end