summaryrefslogtreecommitdiffstats
path: root/main/b43-fwcutter/APKBUILD
blob: ea9772b17c0f6cf35c247c0e191d530c3ae58c43 (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=013
pkgrel=0
pkgdesc="Tool to extract firmware from Broadcom drivers"
url="http://linuxwireless.org/en/users/Drivers/b43"
arch="x86 x86_64"
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"