summaryrefslogtreecommitdiff
path: root/network/b43-firmware/b43-firmware.SlackBuild
diff options
context:
space:
mode:
authorRoberto Neri <rneri@libero.it>2012-05-29 17:36:36 -0400
committerErik Hanson <erik@slackbuilds.org>2012-06-03 15:21:09 -0500
commitbaa4ae0eb3da82336f8e380908596f721bc6f2d1 (patch)
treebcdc481c67953fbd1b5eed08c4f33e442a25ba44 /network/b43-firmware/b43-firmware.SlackBuild
parent97ab2fb9755b57b10e1f5ddac03e48aacc052641 (diff)
downloadslackbuilds-baa4ae0eb3da82336f8e380908596f721bc6f2d1.tar.gz
network/b43-firmware: Updated for version 5.10.56.27.3.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/b43-firmware/b43-firmware.SlackBuild')
-rw-r--r--network/b43-firmware/b43-firmware.SlackBuild36
1 files changed, 26 insertions, 10 deletions
diff --git a/network/b43-firmware/b43-firmware.SlackBuild b/network/b43-firmware/b43-firmware.SlackBuild
index 7bad1fd3d2..758d6339b6 100644
--- a/network/b43-firmware/b43-firmware.SlackBuild
+++ b/network/b43-firmware/b43-firmware.SlackBuild
@@ -1,13 +1,32 @@
#!/bin/sh
# Slackware build script for b43
-# Project Homepage: http://linuxwireless.org/en/users/Drivers/b43
-# Written by Roberto Neri <rneri@libero.it>
+# Copyright 2008-2012 Roberto Neri, Palermo, Italy
+#
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
# Modified by Robby Workman <rworkman@slackbuilds.org>
PRGNAM=b43-firmware
-VERSION=4.174.64.19
+VERSION=5.10.56.27.3
ARCH=fw
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -17,21 +36,18 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-# The source tarball is mislabeled as "4.178.10.4", it is actually version 4.174.64.19
-TARBALL_VERSION=4.178.10.4
-
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf broadcom-wl-$TARBALL_VERSION
-tar xvf $CWD/broadcom-wl-$TARBALL_VERSION.tar.bz2
-chown -R root:root broadcom-wl-$TARBALL_VERSION
+rm -rf broadcom-wl-$VERSION
+tar xvf $CWD/broadcom-wl-${VERSION}_mipsel.tar.bz2
+chown -R root:root broadcom-wl-$VERSION
mkdir -p $PKG/lib/firmware
b43-fwcutter \
-w $PKG/lib/firmware \
- broadcom-wl-$TARBALL_VERSION/linux/wl_apsta.o
+ broadcom-wl-$VERSION/driver/wl_apsta/wl_prebuilt.o
chmod 0755 $PKG/lib/firmware/b43
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION