homebrew-core/Formula/mfoc.rb

22 lines
571 B
Ruby
Raw Normal View History

2013-12-25 05:10:09 +00:00
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"
2013-12-25 05:10:09 +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