homebrew-core/Formula/pam_yubico.rb
Brett Koonce 7989595ebc pam_yubico 2.13
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-25 21:16:59 -07:00

19 lines
569 B
Ruby

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'
depends_on 'pkg-config' => :build
depends_on 'libyubikey'
depends_on 'ykclient'
depends_on 'ykpers'
def install
system "./configure", "--prefix=#{prefix}",
"--with-libyubikey-prefix=#{HOMEBREW_PREFIX}",
"--with-libykclient-prefix=#{HOMEBREW_PREFIX}"
system "make install"
end
end