virtual/os-headers: import new style virtual

Upstream has moved from the legacy virtuals file with os-headers to the
new style.  We need to migrate as well to use newer packages.

BUG=chromium-os:14334
TEST=`cbuildbot chromiumos-sdk` worked
TEST=`cbuildbot amd64-generic-full` passes
TEST=`cbuildbot arm-generic-full` passes
TEST=`cbuildbot x86-generic-full` passes
TEST=build_packages+build_image for x86-alex boots

Change-Id: I292e34a013f8b12dc52fc83581922c337785b326
Reviewed-on: https://gerrit.chromium.org/gerrit/13076
Reviewed-by: David James <davidjames@chromium.org>
Commit-Ready: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
Mike Frysinger 2011-12-15 17:32:12 -05:00 committed by Gerrit
parent 9a773fb720
commit 5db6f272fd

View File

@ -0,0 +1,22 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/virtual/os-headers/os-headers-0.ebuild,v 1.4 2011/05/09 20:11:43 ulm Exp $
EAPI=1
DESCRIPTION="Virtual for operating system headers"
HOMEPAGE=""
SRC_URI=""
LICENSE=""
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
DEPEND=""
# depend on SLOT 0 of linux-headers, because kernel-2.eclass
# sets a different SLOT for cross-building
RDEPEND="!prefix? (
|| ( sys-kernel/linux-headers:0
sys-freebsd/freebsd-lib )
)"