blob: ca902c9e2068d957da05b8a4528ed9d40cc91c72 [file] [log] [blame]
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=4
CROS_WORKON_COMMIT="b8d86367208b98613c18aa4b164ef7c637cdbf85"
CROS_WORKON_TREE="0c7a019b4d54a4ce5df7669a2e586d0e6a160b90"
CROS_WORKON_PROJECT="chromiumos/platform/system_api"
inherit cros-workon toolchain-funcs
DESCRIPTION="Chrome OS system API (D-Bus service names, etc.)"
HOMEPAGE="http://www.chromium.org/"
LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
IUSE="platform2"
src_prepare() {
if use platform2; then
printf '\n\n\n'
ewarn "This package doesn't install anything with USE=platform2."
ewarn "You want to use the new chromeos-base/platform2 package."
printf '\n\n\n'
return 0
fi
cros-workon_src_prepare
}
src_install() {
use platform2 && return 0
insinto /usr/include/chromeos
doins -r dbus switches
}