llvm, clang: bump to 14.0.6
[kiss-trunc88.git] / openntpd / build
blobcb44c9a33751341add13b731193ef5886ef9d83b
1 #!/bin/sh -e
3 # GCC 10.
4 export CFLAGS="$CFLAGS -fcommon"
6 ./configure \
7 --prefix=/usr \
8 --sbindir=/usr/bin \
9 --sysconfdir=/etc \
10 --localstatedir=/var \
11 --with-privsep-user=openntpd \
12 --with-cacert=/etc/ssl/cert.pem
14 make
15 make DESTDIR="$1" install
17 install -Dm755 ntpd.run "$1/etc/sv/openntpd/run"
18 ln -sf /run/runit/supervise.openntpd "$1/etc/sv/openntpd/supervise"