31 lines
859 B
Bash
31 lines
859 B
Bash
# Template file for 'broadcom-bt-firmware'
|
|
pkgname=broadcom-bt-firmware
|
|
version=12.0.1.1105
|
|
revision=3
|
|
_patch=_p1
|
|
hostmakedepends="perl"
|
|
short_desc="Broadcom Bluetooth firmware for Linux kernel"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="custom:Broadcom"
|
|
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
|
|
}
|