void-packages/srcpkgs/dhcpcd/template

29 lines
913 B
Text
Raw Normal View History

# Template file for 'dhcpcd'
pkgname=dhcpcd
2014-10-18 07:02:15 +00:00
version=6.5.1
revision=1
2014-10-13 09:52:12 +00:00
replaces="runit-void<20141013_2"
lib32disabled=yes
2014-09-17 06:21:31 +00:00
build_options="systemd"
build_style=configure
2014-01-04 07:08:43 +00:00
configure_args="--prefix=/usr --libexecdir=/usr/lib --sysconfdir=/etc --rundir=/run"
2014-10-18 07:02:15 +00:00
hostmakedepends="ntp pkg-config"
makedepends="libudev-devel"
conf_files="/etc/dhcpcd.conf"
short_desc="RFC2131 compliant DHCP client"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-02-06 16:07:48 +00:00
license="Simplified BSD"
2012-07-09 10:26:14 +00:00
homepage="http://roy.marples.name/projects/dhcpcd"
distfiles="http://roy.marples.name/downloads/dhcpcd/dhcpcd-$version.tar.bz2"
2014-10-18 07:02:15 +00:00
checksum=37d3860a3787b656ae2d1a64855e2dede4460956b979304c14192ada3b550e78
2014-08-20 09:48:03 +00:00
post_install() {
2012-02-29 12:04:04 +00:00
chmod 755 ${DESTDIR}/usr/sbin/dhcpcd
2014-08-20 09:48:03 +00:00
if [ "$build_option_systemd" ]; then
vinstall ${FILESDIR}/dhcpcd.service 644 usr/lib/systemd/system
vinstall ${FILESDIR}/dhcpcd@.service 644 usr/lib/systemd/system
fi
2014-10-13 09:52:12 +00:00
vsv dhcpcd
vsv dhcpcd-eth0
}