aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pcsc-lite.rb
blob: 38451b73ad74b5c6577ed217b80e8ee1c785383e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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"

  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