# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=b43-firmware
pkgver=4.150.10.5
pkgrel=0
pkgdesc="Firmware for b43 driver"
url="http://linuxwireless.org/en/users/Drivers/b43#firmware_installation"
license="propietary"
depends=""
makedepends="b43-fwcutter"
install=
subpackages=
arch="noarch"
source="http://mirror2.openwrt.org/sources/broadcom-wl-$pkgver.tar.bz2"

build() {
	install -d "$pkgdir"/lib/firmware
	b43-fwcutter -w "$pkgdir"/lib/firmware \
		"$srcdir"/broadcom-wl-$pkgver/driver/wl_apsta_mimo.o
}

md5sums="0c6ba9687114c6b598e8019e262d9a60  broadcom-wl-4.150.10.5.tar.bz2"
