blob: bf305c84011892cec03f8132fac82ea32968ded8 [file] [log] [blame]
# Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=4
inherit appid
DESCRIPTION="Ebuild which pulls in any necessary ebuilds as dependencies
or portage actions."
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="-* amd64 x86"
IUSE=""
# Add dependencies on other ebuilds from within this board overlay
RDEPEND="
!<chromeos-base/chromeos-bsp-wolf-private-0.0.2
"
DEPEND="${RDEPEND}"
S="${WORKDIR}"
src_install() {
doappid "{1E454867-ACF6-5F8B-091F-145680D4A7F5}" "CHROMEBOOK"
# Install board-specific info.
insinto "/etc/laptop-mode/conf.d/board-specific"
doins "${FILESDIR}/hdparm.conf"
# Install platform specific config file for power_manager
insinto "/usr/share/power_manager/board_specific"
doins "${FILESDIR}"/powerd_prefs/*
}