blob: 3d8dd54e583f4dcfac053e2248c923859560fa8b [file] [log] [blame]
# 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="3005a7d0ae498240ef6816126d7a1329e61d7c2c"
CROS_WORKON_TREE="d94d66a8353d6202426160b586afec192ba8244b"
CROS_WORKON_PROJECT="chromiumos/third_party/dhcpcd"
inherit cros-workon
DESCRIPTION="A fully featured, yet light weight RFC2131 compliant DHCP client"
HOMEPAGE="http://roy.marples.name/projects/dhcpcd/"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
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
}
src_install() {
emake DESTDIR="${D}" install
}