2014-06-28 03:28:44 +00:00
|
|
|
require "formula"
|
2010-04-21 19:08:43 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Arping < Formula
|
2014-06-28 03:28:44 +00:00
|
|
|
homepage "https://github.com/ThomasHabets/arping"
|
|
|
|
url "https://github.com/ThomasHabets/arping/archive/arping-2.13.tar.gz"
|
|
|
|
sha1 "a253cdfcb83360d4acd5e4fe1d84ed8105a94829"
|
2010-04-21 19:08:43 +00:00
|
|
|
|
2014-06-29 00:31:30 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "eabc0dbfda6ff745d722a9f9f7ff84db64381ccd" => :mavericks
|
|
|
|
sha1 "38b7d22becfe47fd17ba3dd856fd17f6c90ffbc8" => :mountain_lion
|
|
|
|
sha1 "877c2e5384864515e5861c8d3784d63440097433" => :lion
|
|
|
|
end
|
|
|
|
|
2014-06-28 03:28:44 +00:00
|
|
|
depends_on "autoconf" => :build
|
|
|
|
depends_on "automake" => :build
|
|
|
|
depends_on "libnet"
|
2010-04-21 19:08:43 +00:00
|
|
|
|
|
|
|
def install
|
2014-06-28 03:28:44 +00:00
|
|
|
system "./bootstrap.sh"
|
2012-02-13 03:55:14 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2010-04-21 19:08:43 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|