aboutsummaryrefslogtreecommitdiff
path: root/core/dhcpcd/build
blob: 5e4235c7783c1f3dd3cbeda5482aa5d63341ada5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh -e

./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"