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