nfcutils 0.3.8

Closes Homebrew/homebrew#25529.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
soul916 2013-12-25 14:31:23 +08:00 committed by Adam Vandenberg
parent 2611f47260
commit 1677e776db

20
Formula/nfcutils.rb Normal file
View file

@ -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