homebrew-core/Formula/pcsc-lite.rb

25 lines
713 B
Ruby
Raw Normal View History

require "formula"
class PcscLite < Formula
homepage "http://pcsclite.alioth.debian.org"
url "https://alioth.debian.org/frs/download.php/file/4126/pcsc-lite-1.8.13.tar.bz2"
sha1 "baa1ac3a477c336805cdf375912da5cbc8ebab8d"
2014-11-29 19:16:34 +00:00
bottle do
sha1 "8b726aaf4467583d1fd808650229757c9561c4d5" => :yosemite
sha1 "42eff3939a65ea2cea53b8a61dc60321c01cb00f" => :mavericks
sha1 "3600bfdc0d7e74f27c0c0474660805f58378e903" => :mountain_lion
end
def install
system "./configure", "--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end
test do
system sbin/"pcscd", "--version"
end
end