homebrew-core/Formula/yubico-piv-tool.rb

29 lines
823 B
Ruby
Raw Normal View History

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"
2014-08-28 02:11:31 +00:00
bottle do
cellar :any
2015-01-14 12:53:57 +00:00
sha1 "4fc3bc4b53afbec9773d468435e23013c1718c55" => :yosemite
sha1 "5c1509845c4d1d1726098e15cb5692e187c99aa2" => :mavericks
sha1 "c9de161633dfcf2337390aec11826950d4dca00e" => :mountain_lion
2014-08-28 02:11:31 +00:00
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