From 1677e776dbe7b207c676e1ce476f31986b2a8707 Mon Sep 17 00:00:00 2001 From: soul916 Date: Wed, 25 Dec 2013 14:31:23 +0800 Subject: [PATCH] nfcutils 0.3.8 Closes Homebrew/homebrew#25529. Signed-off-by: Adam Vandenberg --- Formula/nfcutils.rb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Formula/nfcutils.rb 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