2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-23 07:40:11 -07:00
repo/extra/dhcpcd/build
2020-07-03 09:57:34 +03:00

16 lines
328 B
Bash
Executable File

#!/bin/sh -e
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \
--rundir=/run \
--libexecdir=/usr/lib/dhcpcd
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"