aboutsummaryrefslogtreecommitdiff
path: root/extra/opendoas/build
blob: 31d85d1c3f0e1ca9ef4be39df56096ae49050fab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh -e

./configure \
    --prefix=/usr \
    --enable-static \
    --with-timestamp \
    --without-pam

# Do not change ownership as the package manager handles this.
sed -i /chown/d GNUmakefile

make
make DESTDIR="$1" install

install -Dm640  doas.conf "$1/etc/doas.conf"