# Template file for 'dhcpcd' pkgname=dhcpcd version=6.6.1 revision=1 lib32disabled=yes build_options="systemd" build_style=configure configure_args="--prefix=/usr --sysconfdir=/etc --rundir=/run" hostmakedepends="ntp pkg-config" makedepends="libudev-devel" conf_files="/etc/dhcpcd.conf" short_desc="RFC2131 compliant DHCP client" maintainer="Juan RP " license="2-clause-BSD" homepage="http://roy.marples.name/projects/dhcpcd" distfiles="http://roy.marples.name/downloads/dhcpcd/dhcpcd-$version.tar.bz2" checksum=5d6a15fa064a91761601142232f23edb09b570555c3386e6d766759d78b8e1fe pre_install() { # make wpa_supplicant log to syslog rather than stdout sed -i 's,-B,& -s,' dhcpcd-hooks/10-wpa_supplicant } post_install() { if [ "$build_option_systemd" ]; then vinstall ${FILESDIR}/dhcpcd.service 644 usr/lib/systemd/system vinstall ${FILESDIR}/dhcpcd@.service 644 usr/lib/systemd/system fi vsv dhcpcd vsv dhcpcd-eth0 }