mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-22 23:30:05 -07:00
17 lines
321 B
Bash
Executable File
17 lines
321 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
patch -p1 < dhcpcd-fix-musl.patch
|
|
|
|
./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"
|