void-packages/srcpkgs/dhcpcd/template
2014-03-15 10:02:47 +01:00

23 lines
790 B
Text

# Template file for 'dhcpcd'
pkgname=dhcpcd
version=6.3.2
revision=1
build_style=configure
configure_args="--prefix=/usr --libexecdir=/usr/lib --sysconfdir=/etc --rundir=/run"
hostmakedepends="which ntp pkg-config"
makedepends="libudev-devel"
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=b69c1ef06a92f327993ee1cc4cfd9145c296aa1ac6070ba2f9ac74931b2f55ec
lib32disabled=yes
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
}