void-packages/srcpkgs/dhcpcd/template
2014-09-27 10:41:20 +02:00

25 lines
857 B
Text

# Template file for 'dhcpcd'
pkgname=dhcpcd
version=6.4.7
revision=1
lib32disabled=yes
build_options="systemd"
build_style=configure
configure_args="--prefix=/usr --libexecdir=/usr/lib --sysconfdir=/etc --rundir=/run"
hostmakedepends="which ntp pkg-config"
makedepends="libudev-devel"
conf_files="/etc/dhcpcd.conf"
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=bb0880968671436b2cf85dcda4d4cf9b9e25045a274832bf18e28534bb25e187
post_install() {
chmod 755 ${DESTDIR}/usr/sbin/dhcpcd
if [ "$build_option_systemd" ]; then
vinstall ${FILESDIR}/dhcpcd.service 644 usr/lib/systemd/system
vinstall ${FILESDIR}/dhcpcd@.service 644 usr/lib/systemd/system
fi
}