Zhongze Hu | a33e2fd | 2017-04-13 15:33:53 -0700 | [diff] [blame] | 1 | # Copyright 2017 The Chromium OS Authors. All rights reserved. |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | |
Gwendal Grignou | ed7c2af | 2020-05-05 18:37:17 -0700 | [diff] [blame] | 4 | EAPI=7 |
Zhongze Hu | a33e2fd | 2017-04-13 15:33:53 -0700 | [diff] [blame] | 5 | CROS_WORKON_PROJECT="chromiumos/third_party/sis-updater" |
| 6 | |
Gwendal Grignou | ed7c2af | 2020-05-05 18:37:17 -0700 | [diff] [blame] | 7 | inherit cros-workon cros-common.mk libchrome udev user |
Zhongze Hu | a33e2fd | 2017-04-13 15:33:53 -0700 | [diff] [blame] | 8 | |
| 9 | DESCRIPTION="A tool to update SiS firmware on Mimo from Chromium OS." |
| 10 | HOMEPAGE="https://chromium.googlesource.com/chromiumos/third_party/sis-updater" |
| 11 | |
| 12 | LICENSE="BSD-Google" |
| 13 | SLOT="0" |
| 14 | KEYWORDS="~*" |
| 15 | |
Qijiang Fan | 2b43bd7 | 2020-01-16 19:18:19 +0900 | [diff] [blame] | 16 | DEPEND="chromeos-base/libbrillo:=" |
Zhongze Hu | 8c6bec3 | 2017-06-14 15:05:48 -0700 | [diff] [blame] | 17 | |
Zhongze Hu | a33e2fd | 2017-04-13 15:33:53 -0700 | [diff] [blame] | 18 | RDEPEND="${DEPEND}" |
| 19 | |
| 20 | src_install() { |
Gwendal Grignou | ed7c2af | 2020-05-05 18:37:17 -0700 | [diff] [blame] | 21 | dosbin "${OUT}/sis-updater" |
Zhongze Hu | a33e2fd | 2017-04-13 15:33:53 -0700 | [diff] [blame] | 22 | udev_dorules conf/99-sis-usb.rules |
| 23 | } |
Zhongze Hu | fcaace7 | 2017-05-12 10:33:50 -0700 | [diff] [blame] | 24 | |
| 25 | pkg_preinst() { |
| 26 | enewuser cfm-firmware-updaters |
| 27 | enewgroup cfm-firmware-updaters |
| 28 | } |