repo/extra/opendoas/build
2020-01-30 15:49:33 +02:00

16 lines
246 B
Bash
Executable File

#!/bin/sh -e
sed -i '/chown/d' bsd.prog.mk
sed -i 's/111/755/' Makefile
./configure \
--enable-static \
--with-shadow \
--with-timestamp \
--without-pam
make
make DESTDIR="$1" install
install -D doas.conf "$1/etc/doas.conf"