2011-03-10 05:11:03 +00:00
|
|
|
class Arping < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Utility to check whether MAC addresses are already taken on a LAN"
|
2014-06-28 03:28:44 +00:00
|
|
|
homepage "https://github.com/ThomasHabets/arping"
|
2016-06-28 08:38:57 +00:00
|
|
|
url "https://github.com/ThomasHabets/arping/archive/arping-2.17.tar.gz"
|
|
|
|
sha256 "ecb509561b33af07d9fae5401b5eef9a4ef4d3ffc9c906c1274aad172668907d"
|
2010-04-21 19:08:43 +00:00
|
|
|
|
2014-06-29 00:31:30 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2016-06-28 09:06:47 +00:00
|
|
|
sha256 "a005ba2601051efc8d3f98ceccbb8cf77a8a08a5f1210e28bf5066b3f507bcad" => :el_capitan
|
|
|
|
sha256 "e92439451f6a02fa3b0898f077a2bd1b82dcced99336bf386d6dc56330de7bd4" => :yosemite
|
|
|
|
sha256 "9bada1138582acdab04c574ef4056cf8a0be259ba2bbfcd8b4db50aa4c18587f" => :mavericks
|
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"
|
2015-01-26 23:35:53 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2012-02-13 03:55:14 +00:00
|
|
|
"--prefix=#{prefix}"
|
2015-01-26 23:35:53 +00:00
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{sbin}/arping", "--help"
|
2010-04-21 19:08:43 +00:00
|
|
|
end
|
|
|
|
end
|