repo/extra/eiwd/build
2020-04-26 14:43:33 +03:00

15 lines
292 B
Bash
Executable File

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