void-packages/srcpkgs/dhcpcd/template

21 lines
733 B
Text

# Template file for 'dhcpcd'
pkgname=dhcpcd
version=6.1.0
revision=1
build_style=configure
configure_args="--prefix=/usr --libexecdir=/usr/lib
--sysconfdir=/etc --rundir=/run"
hostmakedepends="which ntp"
conf_files="/etc/dhcpcd.conf"
short_desc="RFC2131 compliant DHCP client"
maintainer="Juan RP <xtraeme@gmail.com>"
license="Simplified BSD"
homepage="http://roy.marples.name/projects/dhcpcd"
distfiles="http://roy.marples.name/downloads/dhcpcd/dhcpcd-$version.tar.bz2"
checksum=71735bcc2e740f37865a985fe32eaa9da5bf557e8b74b214d8099cac878cab64
post_install() {
chmod 755 ${DESTDIR}/usr/sbin/dhcpcd
vinstall ${FILESDIR}/dhcpcd.service 644 usr/lib/systemd/system
vinstall ${FILESDIR}/dhcpcd@.service 644 usr/lib/systemd/system
}