blob: 1e612bc3266ed46039ec55b51dfa7a1c2416c0c0 [file] [log] [blame]
# Copyright 2017 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=5
CROS_WORKON_COMMIT="a27f753fe66a9a15f25246303ea3cf74e7915232"
CROS_WORKON_TREE=("85db6764c18b2cd6e849d2c5e5cd3138c23f3563" "e63a1e3edbb27cfa17c9aa1eae4ad8d1b0f2238f")
CROS_WORKON_LOCALNAME="platform2"
CROS_WORKON_PROJECT="chromiumos/platform2"
CROS_WORKON_OUTOFTREE_BUILD=1
CROS_WORKON_SUBTREE="common-mk thd"
PLATFORM_SUBDIR="thd"
inherit cros-workon platform user
DESCRIPTION="Thermal Daemon for Chromium OS"
HOMEPAGE="http://dev.chromium.org/chromium-os/packages/thd"
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="*"
RDEPEND="chromeos-base/libbrillo"
DEPEND="${RDEPEND}"
pkg_preinst() {
enewuser thermal
enewgroup thermal
}
src_install() {
dobin "${OUT}"/thd
dodir /etc/thd/
insinto /etc/init
doins init/*.conf
}