void-packages/srcpkgs/dhcpcd/template

28 lines
784 B
Plaintext
Raw Normal View History

# Template file for 'dhcpcd'
pkgname=dhcpcd
2013-04-29 13:52:35 +02:00
version=5.6.8
revision=1
build_style=configure
configure_args="--prefix=/usr --libexecdir=/usr/lib
--sysconfdir=/etc --rundir=/run"
makedepends="which ntp"
short_desc="RFC2131 compliant DHCP client"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-02-06 17:07:48 +01:00
license="Simplified 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"
2013-04-29 13:52:35 +02:00
checksum=a3b15da770623774f4e659bf3239fca50f03594207bca3a2ad011f0b68d8eec4
post_install() {
2012-02-29 13:04:04 +01:00
chmod 755 ${DESTDIR}/usr/sbin/dhcpcd
2012-07-09 22:47:48 +02:00
vinstall ${FILESDIR}/dhcpcd.service 644 usr/lib/systemd/system
vinstall ${FILESDIR}/dhcpcd@.service 644 usr/lib/systemd/system
}
dhcpcd_package() {
conf_files="/etc/dhcpcd.conf"
pkg_install() {
2013-04-29 13:52:35 +02:00
vmove all
}
}