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

_builddir="$srcdir"/b43-fwcutter-$pkgver
build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	make PREFIX="$pkgdir"/usr install || return 1
	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"