homebrew-core/Formula/mfoc.rb
BrewTestBot 95884bae22 Formula files style updates.
Closes .

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 14:21:42 +01:00

21 lines
571 B
Ruby

class Mfoc < Formula
desc "Implementation of 'offline nested' attack by Nethemba"
homepage "https://code.google.com/p/mfoc/"
url "https://mfoc.googlecode.com/files/mfoc-0.10.7.tar.bz2"
sha256 "93d8ac4cb0aa6ed94855ca9732a2ffd898a9095c087f12f9402205443c2eb98c"
depends_on "pkg-config" => :build
depends_on "libnfc"
depends_on "libusb"
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"
system "make", "install"
end
test do
system bin/"mfoc", "-h"
end
end