2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-08-21 21:46:18 +00:00
repo/core/dhcpcd/build

17 lines
321 B
Plaintext
Raw Normal View History

2019-07-04 16:02:03 +00:00
#!/bin/sh -e
2019-10-12 21:13:06 +00:00
patch -p1 < dhcpcd-fix-musl.patch
2019-07-04 16:02:03 +00:00
./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"