2021-05-10 12:55:12 -04:00
|
|
|
#!/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
|
2021-05-10 12:55:12 -04:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR="$1" install
|
|
|
|
|
|
|
|
# Fix broken --sbindir.
|
|
|
|
mv -f "$1/usr/sbin/"* "$1/usr/bin"
|
|
|
|
rmdir "$1/usr/sbin"
|