aboutsummaryrefslogtreecommitdiffstats
path: root/main/b43-fwcutter/APKBUILD
blob: e9e9db20ad7f3b3ccd21cb5ea8fe52e80ef9b762 (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=019
pkgrel=0
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="19d1f4226a625756726bdf7ed5dc2a0a  b43-fwcutter-019.tar.bz2"
sha256sums="d6ea85310df6ae08e7f7e46d8b975e17fc867145ee249307413cfbe15d7121ce  b43-fwcutter-019.tar.bz2"
sha512sums="2a439d1583d1ee7b13dd6a7526b78b216073e044c3934adf6615b8d2ca9a4b8c74db9791182d27baf1690b5c5ff6ce1a9c8dd4fb796e47939d055fef5bb37960  b43-fwcutter-019.tar.bz2"