repo/extra/dhcpcd/build

18 lines
373 B
Plaintext
Raw Normal View History

2019-07-04 16:02:03 +00:00
#!/bin/sh -e
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \
2020-05-08 08:34:29 +00:00
--rundir=/run \
2022-08-30 11:46:48 +00:00
--libexecdir=/usr/lib/dhcpcd \
--without-udev
2019-07-04 16:02:03 +00:00
make
2023-03-02 14:40:00 +00:00
make DESTDIR="$1" BINMODE=755 install
2019-07-04 16:02:03 +00:00
# Install runit service.
2021-07-01 16:27:32 +00:00
mkdir -p "$1/etc/sv/dhcpcd"
cp -f dhcpcd.run "$1/etc/sv/dhcpcd/run"
ln -sf /run/runit/supervise.dhcpcd "$1/etc/sv/dhcpcd/supervise"