diff options
author | David Matthew Jerry Koenig <koenigdavidmj@gmail.com> | 2010-11-05 17:57:19 -0500 |
---|---|---|
committer | Heinz Wiesinger <pprkut@slackbuilds.org> | 2010-11-22 19:43:16 +0100 |
commit | b3d9c17db3b6e80ff617ff1a0c9c75966ff914b8 (patch) | |
tree | f3ec4a0a75e25767ae9653cd6c16a19fd1181923 /network/broadcom-sta/broadcom-sta.SlackBuild | |
parent | ce9a62adcbc322ae869f1751f089e60cfa1fe0f0 (diff) | |
download | slackbuilds-b3d9c17db3b6e80ff617ff1a0c9c75966ff914b8.tar.gz |
network/broadcom-sta: Updated for version 5.60.246.2.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
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 |