void-packages/srcpkgs/rpi-eeprom/template

29 lines
961 B
Bash

# Template file for 'rpi-eeprom'
pkgname=rpi-eeprom
version=2022.05.20
revision=1
_githash="1c758a0904630da2ea905118bdf34fe2d8a6bb5e"
archs="armv7* aarch64*"
conf_files="/etc/default/rpi-eeprom-update"
depends="binutils pciutils python3 rpi-firmware rpi-userland"
short_desc="Bootloader and VL805 USB controller EEPROM update tool for RPi4"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-3-Clause, custom:Proprietary"
homepage="https://github.com/raspberrypi/rpi-eeprom/"
distfiles="https://github.com/raspberrypi/rpi-eeprom/archive/${_githash}.tar.gz"
checksum=ab4e20ef187f1583265c0face1d7d1597df2dc5d0fef697b459794924542388a
python_version=3
repository=nonfree
do_install() {
vbin rpi-eeprom-config
vbin rpi-eeprom-update
vbin rpi-eeprom-digest
vinstall rpi-eeprom-update-default 644 etc/default rpi-eeprom-update
vmkdir usr/lib/firmware/raspberrypi/bootloader
vcopy firmware/* usr/lib/firmware/raspberrypi/bootloader/
vlicense LICENSE
}