#!/bin/sh -e
# Make sure the binaries go into /usr/bin
# shellcheck disable=2016
sed 's@root_sbindir=/sbin@root_sbindir=/usr/bin@;
s@sbindir=${exec_prefix}/sbin@sbindir=${exec_prefix}/bin@' configure >_
mv _ configure; chmod +x configure
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--without-selinux
make
make DESTDIR="$1" install