ykclient 2.14

Closes Homebrew/homebrew#37626.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
CNA-Bld 2015-03-12 15:28:22 +08:00 committed by Mike McQuaid
parent e3eabca01d
commit 85bfb05376

View file

@ -1,19 +1,21 @@
require 'formula'
class Ykclient < Formula
homepage 'http://yubico.github.io/yubico-c-client/'
url 'http://yubico.github.io/yubico-c-client/releases/ykclient-2.12.tar.gz'
sha1 '518ce53ba9ef61a619f9150778f19fad23014a9c'
homepage "https://yubico.github.io/yubico-c-client/"
url "https://yubico.github.io/yubico-c-client/releases/ykclient-2.14.tar.gz"
sha256 "bd7ddaa1d88ec7be323738cabdf58ff99cb6d6cd3fe937c69b52fa9b3764d362"
option :universal
depends_on 'pkg-config' => :build
depends_on 'help2man' => :build
depends_on "pkg-config" => :build
depends_on "help2man" => :build
def install
ENV.universal_binary if build.universal?
system "./configure", "--prefix=#{prefix}"
system "make install"
system "make", "install"
end
test do
system "#{bin}/ykclient", "--version"
end
end