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

33 lines
914 B
Bash

# Template file for 'broadcom-bt-firmware'
pkgname=broadcom-bt-firmware
version=12.0.1.1105
revision=1
_patch=_p1
archs=noarch
wrksrc="${pkgname}-${version}${_patch}"
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=df1bbbdac950f99b33d797236c7f91696f2f12a52d5682af6e9fb686b410d0c8
do_build() {
# Needs perl-Regexp-Grammars package to rebuild.
# And even with that dependency fails to build,
# thus disable for now.
#./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
}