aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/arping.rb
blob: 30b18f762599db3570456849bf7f8d2d19fb7f37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
require "formula"

class Arping < Formula
  homepage "https://github.com/ThomasHabets/arping"
  url "https://github.com/ThomasHabets/arping/archive/arping-2.13.tar.gz"
  sha1 "a253cdfcb83360d4acd5e4fe1d84ed8105a94829"

  bottle do
    cellar :any
    sha1 "eabc0dbfda6ff745d722a9f9f7ff84db64381ccd" => :mavericks
    sha1 "38b7d22becfe47fd17ba3dd856fd17f6c90ffbc8" => :mountain_lion
    sha1 "877c2e5384864515e5861c8d3784d63440097433" => :lion
  end

  depends_on "autoconf" => :build
  depends_on "automake" => :build
  depends_on "libnet"

  def install
    system "./bootstrap.sh"
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
end