aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ipsumdump.rb
blob: e690f941b4315c45432b22ea670c4d5f2fec7ae5 (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.85.tar.gz"
  sha1 "53b7be092d94c1b28817e1c6920bb70293eb60b3"
  head "https://github.com/kohler/ipsumdump.git"

  bottle do
    sha1 "5ae94f24b2a5bd37e86babecd1848ed18a8d2dcc" => :yosemite
    sha1 "139139a0c3fcc8f0e6fdedeb396e3e65b85b758e" => :mavericks
    sha1 "4acd0be3df8c6c81de7b9e28e20d93f84076f4fd" => :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