2013-12-25 05:10:09 +00:00
|
|
|
class Mfoc < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Implementation of 'offline nested' attack by Nethemba"
|
2015-08-03 12:55:31 +00:00
|
|
|
homepage "https://code.google.com/p/mfoc/"
|
|
|
|
url "https://mfoc.googlecode.com/files/mfoc-0.10.7.tar.bz2"
|
|
|
|
sha256 "93d8ac4cb0aa6ed94855ca9732a2ffd898a9095c087f12f9402205443c2eb98c"
|
2013-12-25 05:10:09 +00:00
|
|
|
|
2015-08-03 12:55:31 +00:00
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "libnfc"
|
|
|
|
depends_on "libusb"
|
2013-12-25 05:10:09 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system bin/"mfoc", "-h"
|
|
|
|
end
|
|
|
|
end
|