summaryrefslogtreecommitdiff
path: root/network/b43-firmware/b43-firmware.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/b43-firmware/b43-firmware.SlackBuild')
-rw-r--r--network/b43-firmware/b43-firmware.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/network/b43-firmware/b43-firmware.SlackBuild b/network/b43-firmware/b43-firmware.SlackBuild
index 61b03e82ac..eb5a71f8df 100644
--- a/network/b43-firmware/b43-firmware.SlackBuild
+++ b/network/b43-firmware/b43-firmware.SlackBuild
@@ -26,7 +26,7 @@
# Modified by Robby Workman <rworkman@slackbuilds.org>
PRGNAM=b43-firmware
-VERSION=5.100.138
+VERSION=${VERSION:-6.30.163.46}
ARCH=fw
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -43,16 +43,14 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf broadcom-wl-$VERSION
tar xvf $CWD/broadcom-wl-$VERSION.tar.bz2
-chown -R root:root broadcom-wl-$VERSION
+chown root:root broadcom-wl-${VERSION}.wl_apsta.o
mkdir -p $PKG/lib/firmware
b43-fwcutter \
-w $PKG/lib/firmware \
- broadcom-wl-$VERSION/linux/wl_apsta.o
+ broadcom-wl-${VERSION}.wl_apsta.o
chmod 0755 $PKG/lib/firmware/b43
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a broadcom-wl-$VERSION/README \
- $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install