25 lines
692 B
Plaintext
25 lines
692 B
Plaintext
# Description: Yubico Pluggable Authentication Module (PAM)
|
|
# URL: https://github.com/Yubico/yubico-pam
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: linux-pam json-c yubikey-personalization
|
|
# Optional: asciidoc openldap
|
|
|
|
name=yubico-pam
|
|
version=2.27
|
|
release=2
|
|
source=(https://github.com/Yubico/yubico-pam/archive/$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
prt-get isinst asciidoc || PKGMK_YUBICOPAM+=' --disable-documentation'
|
|
prt-get isinst openldap || PKGMK_YUBICOPAM+=' --without-ldap'
|
|
|
|
autoreconf -fi
|
|
./configure --prefix=/usr $PKGMK_YUBICOPAM \
|
|
--with-pam-dir=/lib/security \
|
|
--disable-static
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|