repo/extra/eiwd/build
2021-07-18 08:40:37 +03:00

16 lines
307 B
Bash
Executable File

#!/bin/sh -e
./configure \
--prefix=/usr \
--libexecdir=/usr/bin \
--localstatedir=/var \
--disable-dbus
make
make install
# Install runit service.
mkdir -p "$1/etc/sv/eiwd"
cp -f eiwd.run "$1/etc/sv/eiwd/run"
ln -sf /run/runit/supervise.eiwd "$1/etc/sv/eiwd/supervise"