blob: fb656dd2c92ff10a661207c157aae87465b5dada (
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
25
26
27
28
 | require "formula"
class YubicoPivTool < Formula
  homepage "http://opensource.yubico.com/yubico-piv-tool/"
  url "http://opensource.yubico.com/yubico-piv-tool/releases/yubico-piv-tool-0.1.3.tar.gz"
  sha1 "425269827da9f47a6277bd42b6415c8527d9ff8e"
  bottle do
    cellar :any
    sha1 "4fc3bc4b53afbec9773d468435e23013c1718c55" => :yosemite
    sha1 "5c1509845c4d1d1726098e15cb5692e187c99aa2" => :mavericks
    sha1 "c9de161633dfcf2337390aec11826950d4dca00e" => :mountain_lion
  end
  depends_on "pkg-config" => :build
  depends_on "openssl"
  def install
    system "./configure", "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}"
    system "make", "install"
  end
  test do
    system "#{bin}/yubico-piv-tool", "--version"
  end
end
 |