void-packages/srcpkgs/b43-firmware/template

22 lines
699 B
Bash

# Template file for 'b43-firmware'
pkgname=b43-firmware
version=6.30.163.46
revision=2
wrksrc="${pkgname}"
create_wrksrc=yes
hostmakedepends="b43-fwcutter"
short_desc="Firmware for Broadcom B43 wireless (latest release)"
maintainer="q66 <daniel@octaforge.org>"
license="custom:proprietary"
homepage="https://wireless.wiki.kernel.org/en/users/Drivers/b43"
distfiles="http://www.lwfinger.com/${pkgname}/broadcom-wl-${version}.tar.bz2"
checksum=a07c3b6b277833c7dbe61daa511f908cd66c5e2763eb7a0859abc36cd9335c2d
conflicts="b43-firmware-classic>=0"
repository=nonfree
restricted=yes
do_install() {
vmkdir usr/lib/firmware
b43-fwcutter -w ${DESTDIR}/usr/lib/firmware broadcom-wl-${version}.wl_apsta.o
}