aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ipsumdump.rb
blob: 7a3aaf5112a400cd6ad6fece05c9fee501a6d727 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
class Ipsumdump < Formula
  homepage "http://www.read.seas.harvard.edu/~kohler/ipsumdump/"
  url "http://www.read.seas.harvard.edu/~kohler/ipsumdump/ipsumdump-1.84.tar.gz"
  sha1 "3dc3ff9d97a65be25866d624a663be91e27d8628"
  head "https://github.com/kohler/ipsumdump.git"

  bottle do
    sha1 "ffc203830f18bef05ebf053967683e05aac3367b" => :yosemite
    sha1 "589c090e06857e09b3c4e3667f5eb7b050ff747d" => :mavericks
    sha1 "b65adb35b7c8d36ee1ff9c187a84331ea93fad9c" => :mountain_lion
  end

  def install
    system "./configure", "--prefix=#{prefix}"
    system "make"
    system "make", "install"
  end

  test do
    system "#{bin}/ipsumdump", "-c", "-r", "#{test_fixtures("test.pcap")}"
  end
end