aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAaron Patterson2011-05-27 17:52:46 -0700
committerAdam Vandenberg2011-05-27 22:02:50 -0700
commit31a63cfd4456df4a876324f540feb919acc70d14 (patch)
treec844c7b817bfe7fab70c24ec59caf8b400cf472b /Library/Formula
parentb00cb90e709d9a4a74e976aff12408e7f4aca5c5 (diff)
downloadhomebrew-31a63cfd4456df4a876324f540feb919acc70d14.tar.bz2
libnfc
libnfc is a library for near-field communcation Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libnfc.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/libnfc.rb b/Library/Formula/libnfc.rb
new file mode 100644
index 000000000..cc8baf58c
--- /dev/null
+++ b/Library/Formula/libnfc.rb
@@ -0,0 +1,15 @@
+require 'formula'
+
+class Libnfc < Formula
+ url 'http://libnfc.googlecode.com/files/libnfc-1.5.0.tar.gz'
+ homepage 'http://www.libnfc.org/'
+ md5 '569d85c36cd68f6e6560c9d78b46788f'
+
+ depends_on 'libusb-compat'
+
+ def install
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make install"
+ end
+end