blob: ab6ad75d7008facbcddb4ed27150c4effae7a542 [file] [log] [blame]
# Copyright 2018 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=5
CROS_WORKON_PROJECT="chromiumos/third_party/aver-updater"
inherit cros-workon 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:=
"
src_configure() {
# Disable tautological-compare warnings, crbug.com/1042142
append-cppflags "-Wno-tautological-compare"
cros-workon_src_configure
}
src_install() {
dosbin aver-updater
udev_dorules conf/99-run-aver-updater.rules
}
pkg_preinst() {
enewuser cfm-firmware-updaters
enewgroup cfm-firmware-updaters
}