1 # Description: Pluggable Authentication Modules (PAM) for Linux
2 # URL: http://www.linux-pam.org/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
8 source=(https://github.com/$name/$name/releases/download/v${version}/Linux-PAM-$version.tar.xz \
9 common-account common-auth common-password common-session \
14 ./configure --prefix=/usr \
21 make DESTDIR=$PKG install
23 # unix_chkpwd needs to be setuid root
24 chmod u+s $PKG/sbin/unix_chkpwd
26 mkdir -p $PKG/etc/pam.d
27 install -o root -g root -m 0644 \
28 $SRC/{common-*,other} \
31 rm -r $PKG/usr/share/doc