2009-03-06 08:18:38 +01:00
|
|
|
# Template file for 'dhcpcd'
|
|
|
|
pkgname=dhcpcd
|
2014-10-07 09:07:01 +02:00
|
|
|
version=6.5.0
|
2014-10-13 11:52:12 +02:00
|
|
|
revision=2
|
|
|
|
replaces="runit-void<20141013_2"
|
2014-03-29 15:32:57 +01:00
|
|
|
lib32disabled=yes
|
2014-09-17 08:21:31 +02:00
|
|
|
build_options="systemd"
|
2009-09-03 10:20:39 +02:00
|
|
|
build_style=configure
|
2014-01-04 08:08:43 +01:00
|
|
|
configure_args="--prefix=/usr --libexecdir=/usr/lib --sysconfdir=/etc --rundir=/run"
|
2014-01-04 08:14:32 +01:00
|
|
|
hostmakedepends="which ntp pkg-config"
|
2014-09-06 12:42:09 +02:00
|
|
|
makedepends="libudev-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
conf_files="/etc/dhcpcd.conf"
|
2009-03-06 08:18:38 +01:00
|
|
|
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"
|
2014-10-07 09:07:01 +02:00
|
|
|
checksum=6bb80c3002cf4be3ee6c6b780e21ca6e1ac97e703100231b28785e8516330794
|
2014-08-20 11:48:03 +02:00
|
|
|
|
2012-01-30 12:45:51 +01:00
|
|
|
post_install() {
|
2012-02-29 13:04:04 +01:00
|
|
|
chmod 755 ${DESTDIR}/usr/sbin/dhcpcd
|
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
|
2009-04-30 02:00:16 +02:00
|
|
|
}
|