diff options
Diffstat (limited to 'network/broadcom-sta/broadcom-sta.SlackBuild')
-rw-r--r-- | network/broadcom-sta/broadcom-sta.SlackBuild | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/network/broadcom-sta/broadcom-sta.SlackBuild b/network/broadcom-sta/broadcom-sta.SlackBuild index 474884c454..ebd229032a 100644 --- a/network/broadcom-sta/broadcom-sta.SlackBuild +++ b/network/broadcom-sta/broadcom-sta.SlackBuild @@ -4,7 +4,7 @@ # Public domain. PRGNAM=broadcom-sta -VERSION=5.60.48.36 +VERSION=5.60.246.2 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -12,12 +12,10 @@ KERNEL=${KERNEL:-$(uname -r)} PKG_VERSION=${VERSION}_$(echo $KERNEL | tr - _) -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -31,11 +29,11 @@ OUTPUT=${OUTPUT:-/tmp} # Skipped the usual set of variables since they don't apply here # (libdir isn't needed, and custom CFLAGS aren't wanted). if [ "$ARCH" = "i486" ]; then - MY_ARCH="x86_32" + MY_ARCH="x86-32" elif [ "$ARCH" = "i686" ]; then - MY_ARCH="x86_32" + MY_ARCH="x86-32" elif [ "$ARCH" = "x86_64" ]; then - MY_ARCH="x86_64" + MY_ARCH="x86-64" else printf "\n\n$ARCH is not supported...\n" exit 1 @@ -46,9 +44,7 @@ set -e rm -rf $WORKDIR $PKG mkdir -p $TMP $WORKDIR $PKG $OUTPUT cd $WORKDIR -tar xvf $CWD/hybrid-portsrc-${MY_ARCH}-v${VERSION}.tar.gz - -patch -p1 < $CWD/broadcom-sta-5.60.48.36-linux-2.6.33.patch +tar xvf $CWD/hybrid-portsrc_${MY_ARCH}_v${VERSION}.tar.gz # Build the module make -C /lib/modules/$KERNEL/build M=$WORKDIR clean |