blob: 151f92c86f2bf92022aeadebc23cd044e951b49e [file] [log] [blame]
# Copyright 2018 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=7
CROS_WORKON_PROJECT="chromiumos/third_party/aver-updater"
inherit cros-workon cros-common.mk libchrome udev user
DESCRIPTION="AVer firmware updater"
HOMEPAGE="https://chromium.googlesource.com/chromiumos/third_party/aver-updater"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~*"
RDEPEND="
chromeos-base/libbrillo:=
"
DEPEND="${RDEPEND}"
src_configure() {
# Disable tautological-compare warnings, crbug.com/1042142
append-cppflags "-Wno-tautological-compare"
cros-common.mk_src_configure
default
}
src_install() {
dosbin "${OUT}/aver-updater"
udev_dorules conf/99-run-aver-updater.rules
}
pkg_preinst() {
enewuser cfm-firmware-updaters
enewgroup cfm-firmware-updaters
}