2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-16 03:30:23 -07:00
repo/extra/dhcpcd/build

15 lines
293 B
Plaintext
Raw Normal View History

2019-07-04 10:02:03 -06:00
#!/bin/sh -e
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \
2020-04-28 08:50:29 -06:00
--rundir=/run
2019-07-04 10:02:03 -06:00
make
make DESTDIR="$1" install
# Install runit service.
2020-04-28 08:50:29 -06:00
install -Dm 755 dhcpcd.run "$1/etc/sv/dhcpcd/run"
2019-07-04 10:02:03 -06:00
ln -s /run/runit/supervise.dhcpcd "$1/etc/sv/dhcpcd/supervise"