homebrew-core/Formula/scamper.rb

30 lines
1.1 KiB
Ruby

class Scamper < Formula
desc "Advanced traceroute and network measurement utility"
homepage "https://www.caida.org/tools/measurement/scamper/"
url "https://www.caida.org/tools/measurement/scamper/code/scamper-cvs-20200923.tar.gz"
sha256 "dc9988d9a696152b5066f9d52dfc24cb898275b5c22a9f420cb901115901c324"
license "GPL-2.0-only"
livecheck do
url "https://www.caida.org/tools/measurement/scamper/code/?C=M&O=D"
regex(/href=.*?scamper(?:-cvs)?[._-]v?(\d{6,8}[a-z]?)\.t/i)
end
bottle do
cellar :any
sha256 "995fe1af6a105618af3ba11d8077df35ee30722f2305a358b88af1b3d56d0a7f" => :big_sur
sha256 "827676f41de2c11b0d9919ea6d13048a2b8dbbeb83caf2d65649eb53743e4d45" => :catalina
sha256 "4633578193b5ce06e909adea554360f4baec3b3603634d38804287e74621ed04" => :mojave
sha256 "40b74e89b9a55f89761faa19a8c9509ccc81223f82433dee5f7f9a32f0caa502" => :high_sierra
end
depends_on "pkg-config" => :build
depends_on "openssl@1.1"
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end
end