repo/extra/dhcpcd/build
2020-06-01 08:29:45 +03:00

18 lines
363 B
Bash
Executable File

#!/bin/sh -e
patch -p1 < missing-include.patch
./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"