]> git.armaanb.net Git - asd-repo.git/blob - extra/dhcpcd/build
Adapt for asd linux
[asd-repo.git] / extra / dhcpcd / build
1 #!/bin/sh -e
2
3 ./configure \
4     --prefix=/usr \
5     --sbindir=/usr/bin \
6     --sysconfdir=/etc \
7     --rundir=/run \
8     --libexecdir=/usr/lib/dhcpcd
9
10 make
11 make DESTDIR="$1" install
12
13 # Install runit service.
14 install -Dm 755 dhcpcd.run        "$1/etc/sv/dhcpcd/run"
15 ln -s /run/runit/supervise.dhcpcd "$1/etc/sv/dhcpcd/supervise"