pam_yubico 2.14

This commit is contained in:
Adam Vandenberg 2013-11-12 22:39:44 -08:00
parent 4549b0c468
commit eff973de67

View file

@ -2,17 +2,19 @@ require 'formula'
class PamYubico < Formula
homepage 'http://code.google.com/p/yubico-pam/'
url 'http://yubico-pam.googlecode.com/files/pam_yubico-2.13.tar.gz'
sha1 '63de5cc19aa89122709eede7f4f272a00945535d'
url 'http://opensource.yubico.com/yubico-pam/releases/pam_yubico-2.14.tar.gz'
sha1 'c86fd78788e6a81cadd57b23411e78bd7fab48bb'
depends_on 'pkg-config' => :build
depends_on :autoconf
depends_on :automake
depends_on :libtool
depends_on 'libyubikey'
depends_on 'ykclient'
depends_on 'ykpers'
conflicts_with 'fastbit', :because => 'Both install `include/util.h`"
def install
system "autoreconf -vfi"
system "./configure", "--prefix=#{prefix}",
"--with-libyubikey-prefix=#{HOMEBREW_PREFIX}",
"--with-libykclient-prefix=#{HOMEBREW_PREFIX}"