blob: 1b54b40be30d74d53c866738915876d65ffe60c8 [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_PROJECT="chromiumos/third_party/mimo-updater"
inherit cros-workon libchrome udev user
DESCRIPTION="A tool to interact with a Mimo device from Chromium OS."
HOMEPAGE="https://chromium.googlesource.com/chromiumos/third_party/mimo-updater"
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="~*"
DEPEND="
chromeos-base/libbrillo
virtual/libusb:1
virtual/libudev:0="
RDEPEND="${DEPEND}"
src_configure() {
cros-workon_src_configure
}
src_install() {
dosbin mimo-updater
udev_dorules conf/90-displaylink-usb.rules
}
pkg_preinst() {
enewuser cfm-firmware-updaters
enewgroup cfm-firmware-updaters
}