blob: 1261dca25a1cfe71c32b9c5b603be9fff0183552 [file] [log] [blame]
Zhongze Hua33e2fd2017-04-13 15:33:53 -07001# Copyright 2017 The Chromium OS Authors. All rights reserved.
2# Distributed under the terms of the GNU General Public License v2
3
Gwendal Grignoued7c2af2020-05-05 18:37:17 -07004EAPI=7
Zhongze Hua33e2fd2017-04-13 15:33:53 -07005CROS_WORKON_PROJECT="chromiumos/third_party/sis-updater"
6
Gwendal Grignoued7c2af2020-05-05 18:37:17 -07007inherit cros-workon cros-common.mk libchrome udev user
Zhongze Hua33e2fd2017-04-13 15:33:53 -07008
9DESCRIPTION="A tool to update SiS firmware on Mimo from Chromium OS."
10HOMEPAGE="https://chromium.googlesource.com/chromiumos/third_party/sis-updater"
11
12LICENSE="BSD-Google"
13SLOT="0"
14KEYWORDS="~*"
15
Qijiang Fan2b43bd72020-01-16 19:18:19 +090016DEPEND="chromeos-base/libbrillo:="
Zhongze Hu8c6bec32017-06-14 15:05:48 -070017
Zhongze Hua33e2fd2017-04-13 15:33:53 -070018RDEPEND="${DEPEND}"
19
20src_install() {
Gwendal Grignoued7c2af2020-05-05 18:37:17 -070021 dosbin "${OUT}/sis-updater"
Zhongze Hua33e2fd2017-04-13 15:33:53 -070022 udev_dorules conf/99-sis-usb.rules
23}
Zhongze Hufcaace72017-05-12 10:33:50 -070024
25pkg_preinst() {
26 enewuser cfm-firmware-updaters
27 enewgroup cfm-firmware-updaters
28}