2014-11-29 19:06:59 +00:00
|
|
|
class PcscLite < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Middleware to access a smart card using SCard API"
|
2015-07-10 20:54:51 +00:00
|
|
|
homepage "https://pcsclite.alioth.debian.org"
|
2015-08-18 15:29:04 +00:00
|
|
|
url "https://alioth.debian.org/frs/download.php/file/4138/pcsc-lite-1.8.14.tar.bz2"
|
|
|
|
sha256 "b91f97806042315a41f005e69529cb968621f73f2ddfbd1380111a175b02334e"
|
2014-11-29 19:06:59 +00:00
|
|
|
|
2014-11-29 19:16:34 +00:00
|
|
|
bottle do
|
2015-08-18 19:37:52 +00:00
|
|
|
sha256 "e8320de38e77f4f61a32a0128656fe8a59b1f687f100b9aa52fb231b56ca7813" => :yosemite
|
|
|
|
sha256 "362bd1206703cc34486792493e2f1a5179acdf9c7a4652cb34ea0f63ff87495f" => :mavericks
|
|
|
|
sha256 "9bc9f64b8299ca9e445402d6b249490719901501ce01a8ffc66207519de7615c" => :mountain_lion
|
2014-11-29 19:16:34 +00:00
|
|
|
end
|
|
|
|
|
2014-11-29 19:06:59 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--disable-silent-rules",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system sbin/"pcscd", "--version"
|
|
|
|
end
|
|
|
|
end
|