summaryrefslogtreecommitdiff
path: root/yubico-pam/Pkgfile
blob: 3176a3d7372f977119a729aa47cd09394259cd51 (plain)
    1 # Description: Yubico Pluggable Authentication Module (PAM)
    2 # URL: https://github.com/Yubico/yubico-pam
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: linux-pam json-c yubikey-personalization
    5 # Optional: asciidoc openldap
    6 
    7 name=yubico-pam
    8 version=2.27
    9 release=2
   10 source=(https://github.com/Yubico/yubico-pam/archive/$version/$name-$version.tar.gz)
   11 
   12 build() {
   13   cd $name-$version
   14 
   15   prt-get isinst asciidoc || PKGMK_YUBICOPAM+=' --disable-documentation'
   16   prt-get isinst openldap || PKGMK_YUBICOPAM+=' --without-ldap'
   17 
   18   autoreconf -fi
   19   ./configure --prefix=/usr $PKGMK_YUBICOPAM \
   20     --with-pam-dir=/lib/security \
   21     --disable-static
   22   make
   23   make DESTDIR=$PKG install
   24 }

Generated by cgit