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
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
9 source=(https://github.com/$name/$name/releases/download/v${version}/Linux-PAM-$version.tar.xz \
10 common-account common-auth common-password common-session \
15 ./configure --prefix=/usr \
23 make DESTDIR=$PKG install
25 mv $PKG/lib/pkgconfig $PKG/usr/lib
27 # unix_chkpwd needs to be setuid root
28 chmod u+s $PKG/sbin/unix_chkpwd
30 mkdir -p $PKG/etc/pam.d
31 install -o root -g root -m 0644 \
32 $SRC/{common-*,other} \
35 rm -r $PKG/usr/{lib/systemd,share/doc}