mirror of
https://codeberg.org/kiss-community/repo
synced 2024-11-15 19:20:10 -07:00
15 lines
286 B
Plaintext
15 lines
286 B
Plaintext
|
#!/bin/sh -e
|
||
|
|
||
|
./configure \
|
||
|
--prefix=/usr \
|
||
|
--sbindir=/usr/bin \
|
||
|
--sysconfdir=/etc \
|
||
|
--rundir=/run
|
||
|
|
||
|
make
|
||
|
make DESTDIR="$1" install
|
||
|
|
||
|
# Install runit service.
|
||
|
install -Dm 755 dhcpcd.run "$1/etc/sv/dhcpcd/run"
|
||
|
ln -s /run/runit/supervise.dhcpcd "$1/etc/sv/dhcpcd/supervise"
|