diff options
Diffstat (limited to 'core/dhcpcd/build')
-rwxr-xr-x | core/dhcpcd/build | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/core/dhcpcd/build b/core/dhcpcd/build new file mode 100755 index 00000000..5e4235c7 --- /dev/null +++ b/core/dhcpcd/build @@ -0,0 +1,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" |