repo/extra/opendoas/build
2020-11-15 19:45:50 +02:00

16 lines
239 B
Bash
Executable File

#!/bin/sh -e
sed -i '/chown/d' GNUmakefile
./configure \
--prefix=/usr \
--enable-static \
--with-shadow \
--with-timestamp \
--without-pam
make
make DESTDIR="$1" install
install -Dm600 doas.conf "$1/etc/doas.conf"