kiss-mfavila-small/ports/shadow/build

19 lines
442 B
Bash
Executable File

#!/bin/sh -e
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--sysconfdir=/etc \
--disable-account-tools-setuid \
--with-group-name-max-length=32 \
--without-audit \
--without-selinux \
--without-libpam
make
make DESTDIR="$1" install
# Fix broken --sbindir.
mv -f "$1/usr/sbin/"* "$1/usr/bin"
rmdir "$1/usr/sbin"