23 lines
874 B
Ruby
23 lines
874 B
Ruby
class Ipsumdump < Formula
|
|
desc "Summarizes TCP/IP dump files into a self-describing ASCII format"
|
|
homepage "http://www.read.seas.harvard.edu/~kohler/ipsumdump/"
|
|
url "http://www.read.seas.harvard.edu/~kohler/ipsumdump/ipsumdump-1.86.tar.gz"
|
|
sha256 "e114cd01b04238b42cd1d0dc6cfb8086a6b0a50672a866f3d0d1888d565e3b9c"
|
|
head "https://github.com/kohler/ipsumdump.git"
|
|
|
|
bottle do
|
|
sha256 "96148641aa0430d8b80cb3ebad8994d1911d61cad9557155172490579e210eaf" => :sierra
|
|
sha256 "a98b6116340b9b459f53310c030e99b8022f546c78cda7fcb040ea87c6e2a5f6" => :el_capitan
|
|
sha256 "83b145e153aa8e0680e9329035fb9ad55ce8875a2a6c8d35879821f51e394c7e" => :yosemite
|
|
end
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}"
|
|
system "make"
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/ipsumdump", "-c", "-r", test_fixtures("test.pcap").to_s
|
|
end
|
|
end
|