27 lines
788 B
Text
27 lines
788 B
Text
# Template file for 'dhcpcd'
|
|
pkgname=dhcpcd
|
|
version=6.0.2
|
|
revision=1
|
|
build_style=configure
|
|
configure_args="--prefix=/usr --libexecdir=/usr/lib
|
|
--sysconfdir=/etc --rundir=/run"
|
|
hostmakedepends="which ntp"
|
|
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=6d5877aaa930911995229c6758fcaa7da0b8d6c55c4a7d38c4ab124e457d320b
|
|
|
|
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
|
|
}
|
|
|
|
dhcpcd_package() {
|
|
conf_files="/etc/dhcpcd.conf"
|
|
pkg_install() {
|
|
vmove all
|
|
}
|
|
}
|