aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/yubico-piv-tool.rb
blob: 55d92703046ac58a0c9fde3c025a0618676b606d (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.0.tar.gz"
  sha1 "bebf01280e0ace0c43ab398a06cc0bc2e7fe2af9"

  bottle do
    cellar :any
    sha1 "97d204bea07ee9e00d6f3281a84f94e27b55e174" => :mavericks
    sha1 "621490567eed24c753f712668308a84880940bcd" => :mountain_lion
    sha1 "19547ccfa0e742e5258907c28e039d5ed8a7e707" => :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