void-packages/srcpkgs/broadcom-bt-firmware/template

31 lines
841 B
Bash

# Template file for 'broadcom-bt-firmware'
pkgname=broadcom-bt-firmware
version=12.0.1.1011
revision=1
_patch=_p1
wrksrc="${pkgname}-${version}${_patch}"
archs=noarch
hostmakedepends="perl"
short_desc="Broadcom Bluetooth firmware for Linux kernel"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="Custom"
homepage="https://github.com/winterheart/broadcom-bt-firmware"
distfiles="https://github.com/winterheart/broadcom-bt-firmware/archive/v${version}${_patch}.tar.gz"
checksum=6f1bf39471775c6cc84a3b1be8ce47077eebfeefd916e4089370971c351a9fe1
do_build() {
# Needs perl-Regexp-Grammars package to rebuild.
# ./generate_files.sh
:
}
do_install() {
local f
vmkdir usr/lib/firmware/brcm
for f in ./brcm/*; do
vinstall ${f} 0644 usr/lib/firmware/brcm
done
vlicense LICENSE.MIT.txt
vlicense LICENSE.broadcom_bcm20702
}