aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/nfcutils.rb
blob: 87e0dc09c2f8a7e2477229b06282d55987180510 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'formula'

class Nfcutils < Formula
  homepage 'https://code.google.com/p/nfc-tools/'
  url 'https://nfc-tools.googlecode.com/files/nfcutils-0.3.2.tar.gz'
  sha1 'e560ba7683175257ef9e72838b9f02cf75ce99b8'

  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