aboutsummaryrefslogtreecommitdiffstats
path: root/main/b43-fwcutter/APKBUILD
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-10-31 10:01:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-31 12:39:45 +0000
commitbe5c18c7a38257baf2d638e415cb21a106fd894d (patch)
tree33cd0d0e556cce72ea66ad3a7be3dadd4f1b35d5 /main/b43-fwcutter/APKBUILD
parent7f06f99dd8de075f0527ec1e8f0603614d4b26b9 (diff)
downloadaports-be5c18c7a38257baf2d638e415cb21a106fd894d.tar.bz2
aports-be5c18c7a38257baf2d638e415cb21a106fd894d.tar.xz
main/b43-fwcutter: specify license
Diffstat (limited to 'main/b43-fwcutter/APKBUILD')
-rw-r--r--main/b43-fwcutter/APKBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/main/b43-fwcutter/APKBUILD b/main/b43-fwcutter/APKBUILD
index b77c863e0a..8d4c12da76 100644
--- a/main/b43-fwcutter/APKBUILD
+++ b/main/b43-fwcutter/APKBUILD
@@ -2,25 +2,26 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=b43-fwcutter
pkgver=018
-pkgrel=0
+pkgrel=1
pkgdesc="Tool to extract firmware from Broadcom drivers"
url="http://linuxwireless.org/en/users/Drivers/b43"
arch="all"
-license="GPL"
+license="BSD"
depends=""
makedepends=""
-install=
+install=""
subpackages="$pkgname-doc"
source="http://bues.ch/b43/fwcutter/b43-fwcutter-$pkgver.tar.bz2"
+_builddir="$srcdir"/b43-fwcutter-$pkgver
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$_builddir"
make || return 1
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
- make PREFIX="$pkgdir"/usr install
+ cd "$_builddir"
+ make PREFIX="$pkgdir"/usr install || return 1
mkdir -p "$pkgdir"/usr/share/
mv "$pkgdir"/usr/man "$pkgdir"/usr/share/
}