aboutsummaryrefslogtreecommitdiffstats
path: root/main/b43-fwcutter/APKBUILD
blob: e7f1fdb427656297749aa61a46dfe1fc3f483457 (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=b43-fwcutter
pkgver=014
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://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="dd63f9149510bd6e01b89314e955083b  b43-fwcutter-014.tar.bz2"