f3f1c9f24c
Also use github tarball, why not. Fixes Homebrew/homebrew#24663.
23 lines
665 B
Ruby
23 lines
665 B
Ruby
require 'formula'
|
|
|
|
class PamYubico < Formula
|
|
homepage 'http://opensource.yubico.com/yubico-pam/'
|
|
url 'https://github.com/Yubico/yubico-pam/archive/2.14.tar.gz'
|
|
sha1 '3dd6bddce69785c5d61ae0f64ba568e1a81498a1'
|
|
|
|
depends_on 'pkg-config' => :build
|
|
depends_on :autoconf
|
|
depends_on :automake
|
|
depends_on :libtool
|
|
depends_on 'libyubikey'
|
|
depends_on 'ykclient'
|
|
depends_on 'ykpers'
|
|
|
|
def install
|
|
system "autoreconf -vfi"
|
|
system "./configure", "--prefix=#{prefix}",
|
|
"--with-libyubikey-prefix=#{HOMEBREW_PREFIX}",
|
|
"--with-libykclient-prefix=#{HOMEBREW_PREFIX}"
|
|
system "make install"
|
|
end
|
|
end
|