kiss-mfavila-small/ports/shadow/build

23 lines
449 B
Plaintext
Raw Normal View History

#!/bin/sh -e
2021-06-30 00:11:24 -04:00
./configure \
--prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--libdir=/usr/lib \
--mandir=/usr/share/man \
--sysconfdir=/etc \
--disable-man \
--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"