| # Copyright 1999-2010 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-5.2.1.ebuild,v 1.1 2010/03/02 18:14:07 williamh Exp $ |
| |
| EAPI=4 |
| CROS_WORKON_COMMIT="bbe3141d0d2dd0dc21f379dd323a64f719ae77cd" |
| CROS_WORKON_TREE="56110e2cd9683a8f5ce80d2cbc4d27c3d781b64e" |
| CROS_WORKON_PROJECT="chromiumos/third_party/dhcpcd" |
| |
| inherit cros-workon user |
| |
| DESCRIPTION="A fully featured, yet light weight RFC2131 compliant DHCP client" |
| HOMEPAGE="http://roy.marples.name/projects/dhcpcd/" |
| LICENSE="BSD-2" |
| |
| SLOT="0" |
| KEYWORDS="*" |
| IUSE="-asan -clang" |
| REQUIRED_USE="asan? ( clang )" |
| |
| RDEPEND=">=sys-apps/dbus-1.2" |
| DEPEND="${RDEPEND}" |
| |
| src_configure() { |
| clang-setup-env |
| cros-workon_src_configure --prefix= \ |
| --libexecdir=/lib/dhcpcd \ |
| --dbdir=/var/lib/dhcpcd \ |
| --rundir=/var/run/dhcpcd -- |
| } |
| |
| src_compile() { |
| emake |
| } |
| |
| pkg_preinst() { |
| enewuser "dhcp" |
| enewgroup "dhcp" |
| } |