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"
|
2014-07-20 17:50:51 +00:00
|
|
|
url "https://github.com/ThomasHabets/arping/archive/arping-2.14.tar.gz"
|
|
|
|
sha1 "f691b19e1ad20b853202ee12eaf178232b466bb2"
|
2010-04-21 19:08:43 +00:00
|
|
|
|
2014-06-29 00:31:30 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2014-07-21 04:48:07 +00:00
|
|
|
sha1 "bea3fb0806849cf6d60c858b8618a62fd1f84d7d" => :mavericks
|
|
|
|
sha1 "ff1e5818b770a36bf45f1ed1eb2b9650f55585b6" => :mountain_lion
|
|
|
|
sha1 "6f84c046e41c2727f7326059aeab928c44cc7d18" => :lion
|
2014-06-29 00:31:30 +00:00
|
|
|
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
|