forked from kiss-community/repo
16 lines
311 B
Bash
Executable File
16 lines
311 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sbindir=/usr/bin \
|
|
--sysconfdir=/etc \
|
|
--rundir=/run \
|
|
--privsepuser=root
|
|
|
|
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"
|