2015-03-19 01:58:50 +00:00
|
|
|
class Bgpdump < Formula
|
2015-10-05 12:03:06 +00:00
|
|
|
desc "C library for analyzing MRT/Zebra/Quagga dump files"
|
2015-03-19 01:58:50 +00:00
|
|
|
homepage "https://bitbucket.org/ripencc/bgpdump/wiki/Home"
|
|
|
|
url "https://bitbucket.org/ripencc/bgpdump/get/1.4.99.15.tar.gz"
|
|
|
|
sha256 "6da4ef4020345c68a2551460919ec02b7b63c194324e209fc73bea9889fb5c7c"
|
2015-08-01 14:14:41 +00:00
|
|
|
|
2015-07-31 15:17:24 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-10-07 05:43:03 +00:00
|
|
|
revision 1
|
|
|
|
sha256 "ce0c5b17609eb9276ee41ef5cd3298df8444920c4a0003a08a1edd2f4e2a61a7" => :el_capitan
|
|
|
|
sha256 "f5c658fb75abcd49d2fafd0e1fb88d3b79496d0d3db091e4f17c321c4b2a4df4" => :yosemite
|
|
|
|
sha256 "ebf2b2434f98b507c23bb1987c3a2a02f82f43c185d2d27757bfd5741a11d729" => :mavericks
|
2015-07-31 15:17:24 +00:00
|
|
|
end
|
|
|
|
|
2015-03-19 01:58:50 +00:00
|
|
|
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
|