homebrew-core/Formula/libfreefare.rb

18 lines
495 B
Ruby
Raw Normal View History

require 'formula'
class Libfreefare < Formula
homepage 'https://code.google.com/p/libfreefare/'
url 'https://libfreefare.googlecode.com/files/libfreefare-0.4.0.tar.bz2'
sha1 '74214069d6443a6a40d717e496320428a114198c'
depends_on 'pkg-config' => :build
depends_on 'libnfc'
def install
system "./configure", "--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end
end