repo/extra/shadow/build
nitori 8db82edaa6
shadow: new at 4.14.2
split from patch provided by emma
2024-01-01 22:14:16 +00:00

23 lines
449 B
Bash
Executable File

#!/bin/sh -e
./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"