diff options
| author | Aaron Patterson | 2011-05-27 17:52:46 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-05-27 22:02:50 -0700 |
| commit | 31a63cfd4456df4a876324f540feb919acc70d14 (patch) | |
| tree | c844c7b817bfe7fab70c24ec59caf8b400cf472b /Library | |
| parent | b00cb90e709d9a4a74e976aff12408e7f4aca5c5 (diff) | |
| download | homebrew-31a63cfd4456df4a876324f540feb919acc70d14.tar.bz2 | |
libnfc
libnfc is a library for near-field communcation
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/libnfc.rb | 15 |
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 |
