2012-05-04 19:55:26 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class PamYubico < Formula
|
|
|
|
homepage 'http://code.google.com/p/yubico-pam/'
|
2012-07-30 22:24:44 +00:00
|
|
|
url 'http://yubico-pam.googlecode.com/files/pam_yubico-2.12.tar.gz'
|
|
|
|
sha1 '37bc2c19b3aaa43f2394eb33241ce95fe37c24c6'
|
2012-05-04 19:55:26 +00:00
|
|
|
|
|
|
|
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
|