New package: rpi-eeprom-2021.06.17

This commit is contained in:
Leah Neukirchen 2021-06-24 22:12:31 +02:00
parent 1ed1154126
commit bbe246af51

View file

@ -0,0 +1,29 @@
# Template file for 'rpi-eeprom'
pkgname=rpi-eeprom
version=2021.06.17
revision=1
_githash="cecc46f6878ff03ab87c1cdd3c17ca0b446546d2"
wrksrc="${pkgname}-${_githash}"
only_for_archs="armv7* aarch64*"
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
}