diff options
| author | soul916 | 2013-12-25 13:11:05 +0800 |
|---|---|---|
| committer | Adam Vandenberg | 2014-03-10 19:01:40 -0700 |
| commit | 4e9c273153336b01ef6346e9fa52200250018314 (patch) | |
| tree | 97c9ddaee8200a6d29c0a662e75d9aefd4a48e3b /Library | |
| parent | 673bf800737bddc83be3ce29d0c0eacbe7ea978c (diff) | |
| download | homebrew-4e9c273153336b01ef6346e9fa52200250018314.tar.bz2 | |
mfcuk 0.3.8
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/mfcuk.rb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Library/Formula/mfcuk.rb b/Library/Formula/mfcuk.rb new file mode 100644 index 000000000..2b795e0b1 --- /dev/null +++ b/Library/Formula/mfcuk.rb @@ -0,0 +1,24 @@ +require 'formula' + +class Mfcuk < Formula + homepage 'http://code.google.com/p/mfcuk/' + url 'https://mfcuk.googlecode.com/files/mfcuk-0.3.8.tar.gz' + sha1 '2a8259440ac5bed8516c8d771a945b713dacd2bc' + + depends_on :automake + depends_on :autoconf + depends_on 'pkg-config' => :build + depends_on 'libnfc' + depends_on 'libusb' + + def install + system "./configure", "--disable-dependency-tracking", + "--prefix=#{prefix}" + system "make" + system "make", "install" + end + + test do + system bin/"mfcuk", "-h" + end +end |
