diff --git a/Formula/libnfc.rb b/Formula/libnfc.rb index 0cdbb321bb..a717a90baf 100644 --- a/Formula/libnfc.rb +++ b/Formula/libnfc.rb @@ -1,23 +1,19 @@ require 'formula' class Libnfc < Formula - url 'http://libnfc.googlecode.com/files/libnfc-1.5.0.tar.gz' + url 'http://libnfc.googlecode.com/files/libnfc-1.5.1.tar.gz' homepage 'http://www.libnfc.org/' - md5 '569d85c36cd68f6e6560c9d78b46788f' + md5 '81e3e59496060dc495c95844654a8038' depends_on 'libusb-compat' def options - [ - ['--with-pn532_uart', 'Enable PN532 UART support'], - ] + [['--with-pn532_uart', 'Enable PN532 UART support']] end def install - args = [ - "--prefix=#{prefix}", - "--disable-debug", - "--disable-dependency-tracking" ] + args = ["--disable-debug", "--disable-dependency-tracking", + "--prefix=#{prefix}"] if ARGV.include? '--with-pn532_uart' args << "--enable-serial-autoprobe" @@ -25,7 +21,6 @@ class Libnfc < Formula end system "./configure", *args - system "make install" end end