# Exit on error:
set -e

wget https://roy.marples.name/downloads/dhcpcd/dhcpcd-6.1.0.tar.bz2
tar xf dhcpcd-6.1.0.tar.bz2
cd dhcpcd-6.1.0
./configure \
    --prefix= \
    --bindir=/sbin \
    --sysconfdir=/etc \
    --dbdir=/var/lib/dhcpcd \
    --libexecdir=/lib/dhcpcd
make
make DESTDIR= install
cd ..
rm -rf dhcpcd-6.1.0
rm -rf dhcpcd-6.1.0.tar.bz2

exit 0
