30 lines
1.0 KiB
Bash
30 lines
1.0 KiB
Bash
# Template file for 'rpi-eeprom'
|
|
pkgname=rpi-eeprom
|
|
version=2021.06.17
|
|
revision=2
|
|
_githash="cecc46f6878ff03ab87c1cdd3c17ca0b446546d2"
|
|
archs="armv7* aarch64*"
|
|
wrksrc="${pkgname}-${_githash}"
|
|
conf_files="/etc/default/rpi-eeprom-update-default"
|
|
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=668227625344c9dfa615eb9ec77c26f7126615fb4c054cfd4caaf25385475de9
|
|
python_version=3
|
|
repository=nonfree
|
|
|
|
do_install() {
|
|
vbin rpi-eeprom-config
|
|
vbin rpi-eeprom-update
|
|
vinstall rpi-eeprom-update-default 644 etc/default
|
|
|
|
vmkdir usr/lib/firmware/raspberrypi/bootloader
|
|
vcopy firmware/* usr/lib/firmware/raspberrypi/bootloader/
|
|
rm -rf ${DESTDIR}/usr/lib/firmware/raspberrypi/bootloader/firmware/old
|
|
|
|
vlicense LICENSE
|
|
}
|