summaryrefslogtreecommitdiffstats
path: root/main/b43-fwcutter/APKBUILD
blob: 6b92c22f9bb8feabe8f41807ef383b09027915d7 (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=b43-fwcutter
pkgver=013
pkgrel=0
pkgdesc="Tool to extract firmware from Broadcom drivers"
url="http://linuxwireless.org/en/users/Drivers/b43"
license="GPL"
depends=""
makedepends=""
install=
subpackages="$pkgname-doc"
source="http://bu3sch.de/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="3547ec6c474ac1bc2c4a5bb765b791a4  b43-fwcutter-013.tar.bz2"