blob: 366acc088fc6de74c3a8f5a4b370383d046d7346 [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="29237ebe5f25a8df82230bc13d77851e383f6d6c"
CROS_WORKON_TREE="b251b7533f2d14e1b65b9f471cb9845041d994ce"
CROS_WORKON_PROJECT="chromiumos/third_party/sis-updater"
inherit cros-workon libchrome udev user
DESCRIPTION="A tool to update SiS firmware on Mimo from Chromium OS."
HOMEPAGE="https://chromium.googlesource.com/chromiumos/third_party/sis-updater"
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="*"
DEPEND="chromeos-base/libbrillo"
RDEPEND="${DEPEND}"
src_configure() {
cros-workon_src_configure
}
src_install() {
dosbin sis-updater
udev_dorules conf/99-sis-usb.rules
}
pkg_preinst() {
enewuser cfm-firmware-updaters
enewgroup cfm-firmware-updaters
}