homebrew-core/Formula/libfreefare.rb
2014-10-21 16:14:30 +01:00

25 lines
746 B
Ruby

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'
bottle do
cellar :any
revision 1
sha1 "5939f87b737816272e8bd24bf54ceabcedd9eac6" => :yosemite
sha1 "1890623e36354d249e06587ff9eaaa0af8ee8ded" => :mavericks
sha1 "ab6743edaf802a89944cec742d0c2b1f193d7897" => :mountain_lion
end
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