aboutsummaryrefslogtreecommitdiffstats
path: root/non-free/b43-firmware/APKBUILD
blob: 092ee87cc7beb58c6670efb22ff82e5dc8b75055 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=b43-firmware
pkgver=4.150.10.5
pkgrel=1
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="https://mirror2.openwrt.org/sources/broadcom-wl-$pkgver.tar.bz2"
builddir="$srcdir/broadcom-wl-$pkgver"

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

package() {
	cd "$builddir"
	for i in lib/firmware/b43/*; do
		install -D "$i" "$pkgdir"/"$i"
	done
}

sha512sums="0ada0cd0446fcc7f753945d1a18eb31844ed45a137df679f2acba85f02e2acb1e3e8bde6241ac9ca2bedee1f74a018682de13fe4e185aced603547a6e03f7a3e  broadcom-wl-4.150.10.5.tar.bz2"