mirror of
https://codeberg.org/kiss-community/repo
synced 2024-11-19 21:20:07 -07:00
18 lines
355 B
Bash
Executable File
18 lines
355 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libexecdir=/usr/bin \
|
|
--localstatedir=/var \
|
|
--disable-dbus
|
|
|
|
make
|
|
make DESTDIR="$1" install
|
|
|
|
cp -f iwd_passphrase "$1/usr/bin"
|
|
|
|
# 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"
|