diff --git a/Formula/nfcutils.rb b/Formula/nfcutils.rb new file mode 100644 index 00000000000..9eb737fd560 --- /dev/null +++ b/Formula/nfcutils.rb @@ -0,0 +1,20 @@ +require 'formula' + +class Nfcutils < Formula + homepage 'https://code.google.com/p/nfc-tools/' + url 'https://nfc-tools.googlecode.com/files/nfcutils-0.3.2.tar.gz' + sha1 'e560ba7683175257ef9e72838b9f02cf75ce99b8' + + depends_on :autoconf + depends_on :automake + depends_on 'pkg-config' => :build + depends_on 'libnfc' + depends_on 'libusb' + + def install + system "./configure", "--disable-debug", "--disable-dependency-tracking", + "--prefix=#{prefix}" + system "make" + system "make", "install" + end +end