homebrew-core/Formula/nfcutils.rb

19 lines
590 B
Ruby

class Nfcutils < Formula
desc "Near Field Communication (NFC) tools under POSIX systems"
homepage "https://code.google.com/p/nfc-tools/"
url "https://nfc-tools.googlecode.com/files/nfcutils-0.3.2.tar.gz"
sha256 "dea258774bd08c8b7ff65e9bed2a449b24ed8736326b1bb83610248e697c7f1b"
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