void-packages/srcpkgs/dhcpcd/template

27 lines
840 B
Plaintext
Raw Normal View History

# Template file for 'dhcpcd'
pkgname=dhcpcd
2014-10-29 10:26:08 +01:00
version=6.6.0
2014-10-18 09:02:15 +02:00
revision=1
lib32disabled=yes
2014-09-17 08:21:31 +02:00
build_options="systemd"
build_style=configure
2014-01-04 08:08:43 +01:00
configure_args="--prefix=/usr --libexecdir=/usr/lib --sysconfdir=/etc --rundir=/run"
2014-10-18 09:02:15 +02: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>"
2014-10-29 10:26:08 +01:00
license="2-clause-BSD"
2012-07-09 12:26:14 +02:00
homepage="http://roy.marples.name/projects/dhcpcd"
distfiles="http://roy.marples.name/downloads/dhcpcd/dhcpcd-$version.tar.bz2"
2014-10-29 10:26:08 +01:00
checksum=16b94272cbb9ca22cb74c4421ee745f56850121613f6256587adb4e988c17fd0
2014-08-20 11:48:03 +02:00
post_install() {
2014-08-20 11:48:03 +02: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 11:52:12 +02:00
vsv dhcpcd
vsv dhcpcd-eth0
}