void-packages/srcpkgs/dhcpcd/template

29 lines
796 B
Text
Raw Normal View History

# Template file for 'dhcpcd'
pkgname=dhcpcd
2013-01-29 12:25:35 +00:00
version=5.6.7
revision=2
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 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"
2013-01-29 12:25:35 +00:00
checksum=102cc37596216c0e2c0b230fe58bf880e993ec8663c7c2178fb2a06c25938c90
post_install() {
2012-02-29 12:04:04 +00:00
chmod 755 ${DESTDIR}/usr/sbin/dhcpcd
2012-07-09 20:47:48 +00: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() {
vmove etc
vmove usr
}
}