aboutsummaryrefslogtreecommitdiffstats
path: root/main/b43-fwcutter/APKBUILD
blob: b77c863e0ad009b3399da3959a890b4f96454d1a (plain)
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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=b43-fwcutter
pkgver=018
pkgrel=0
pkgdesc="Tool to extract firmware from Broadcom drivers"
url="http://linuxwireless.org/en/users/Drivers/b43"
arch="all"
license="GPL"
depends=""
makedepends=""
install=
subpackages="$pkgname-doc"
source="http://bues.ch/b43/fwcutter/b43-fwcutter-$pkgver.tar.bz2"

build() {
	cd "$srcdir/$pkgname-$pkgver"
	make || return 1
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make PREFIX="$pkgdir"/usr install
	mkdir -p "$pkgdir"/usr/share/
	mv "$pkgdir"/usr/man "$pkgdir"/usr/share/
}

md5sums="56fcb0c64dcc94dd2672b9ff87f8217f  b43-fwcutter-018.tar.bz2"
sha256sums="57b069dcd1a369ceb457ca397aab470be9b3fc537f400d27244e060fd425638f  b43-fwcutter-018.tar.bz2"
sha512sums="dd2f8d3cb1c94e072489c602be2c4633f305ff0fb86702a0ff4109d64d5c9ccfc1b8442b8bc3d524c5deeb0a07b2a9b86225cb50291436110dcd68d3506bed9b  b43-fwcutter-018.tar.bz2"