homebrew-core/Formula/bgpdump.rb
2018-08-23 16:48:44 +02:00

32 lines
1.2 KiB
Ruby

class Bgpdump < Formula
desc "C library for analyzing MRT/Zebra/Quagga dump files"
homepage "https://bitbucket.org/ripencc/bgpdump/wiki/Home"
url "https://bitbucket.org/ripencc/bgpdump/get/1.5.0.tar.gz"
sha256 "47534112b427b8107ae0fd52437927de25f5cfe0ef98eba6e08df441ae5f05c5"
bottle do
cellar :any
sha256 "79f63d221bd8158acd59e62b1c9d00155fe6e5dd7342b8c3146f268491a70573" => :mojave
sha256 "2ed0b9633e3ca02f0bc7ccc828488135aae5184d05e9dab6c27f29e1c7ade18b" => :high_sierra
sha256 "3abf1e40a8259d4bc10240547dee890a07eab6945f0c713eb3581461ad025884" => :sierra
sha256 "ba9a99d87eca4aa356d506e5b6e14eb25bc5f47c8001114f82519b9dfbedf88e" => :el_capitan
sha256 "ce81cb3942f040ea14406d3c2369e531605033b6173c36eada757f372c8d81f7" => :yosemite
end
depends_on "autoconf" => :build
def install
system "./bootstrap.sh"
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make"
system "make", "check"
system "make", "install"
end
test do
system "#{bin}/bgpdump", "-T"
end
end