Added PAM support
This commit is contained in:
@@ -37,8 +37,13 @@ build() {
|
||||
# The package function is executed in the source directory
|
||||
# This function is used to move the compiled files into the output directory
|
||||
package() {
|
||||
make DESTDIR="$BPM_OUTPUT" exec_prefix=/usr install
|
||||
make DESTDIR="$BPM_OUTPUT" exec_prefix=/usr pamdir= install
|
||||
make -C man DESTDIR="$BPM_OUTPUT" install-man
|
||||
mkdir -p "$BPM_OUTPUT"/etc/pam.d
|
||||
for file in ../pam.d/*; do
|
||||
cp "$file" "$BPM_OUTPUT"/etc/pam.d
|
||||
done
|
||||
cp ../login.defs "$BPM_OUTPUT"/etc/login.defs
|
||||
mkdir -p "$BPM_OUTPUT"/usr/share/licenses/shadow
|
||||
cp COPYING "$BPM_OUTPUT"/usr/share/licenses/shadow/COPYING
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user