summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2009-05-07 16:08:21 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2009-05-07 16:08:21 +0000
commitaf94b9571dcc238445b09dd0ba1f0580db4abe94 (patch)
treeddc4fe4a1ca24efc05b25d1ab05d383080546a66 /net-wireless/broadcom-sta/broadcom-sta-5.10.79.10-r4.ebuild
parentarm/ia64/s390/sh/sparc stable wrt #267528 (diff)
downloadhistorical-af94b9571dcc238445b09dd0ba1f0580db4abe94.tar.gz
historical-af94b9571dcc238445b09dd0ba1f0580db4abe94.tar.bz2
historical-af94b9571dcc238445b09dd0ba1f0580db4abe94.zip
Fixed patches, bug #265385.
Package-Manager: portage-2.1.6.11/cvs/Linux x86_64
Diffstat (limited to 'net-wireless/broadcom-sta/broadcom-sta-5.10.79.10-r4.ebuild')
-rw-r--r--net-wireless/broadcom-sta/broadcom-sta-5.10.79.10-r4.ebuild51
1 files changed, 51 insertions, 0 deletions
diff --git a/net-wireless/broadcom-sta/broadcom-sta-5.10.79.10-r4.ebuild b/net-wireless/broadcom-sta/broadcom-sta-5.10.79.10-r4.ebuild
new file mode 100644
index 000000000000..0c05ca336121
--- /dev/null
+++ b/net-wireless/broadcom-sta/broadcom-sta-5.10.79.10-r4.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/broadcom-sta/broadcom-sta-5.10.79.10-r4.ebuild,v 1.1 2009/05/07 16:08:21 matsuu Exp $
+
+inherit eutils linux-mod versionator
+
+MY_PV="$(replace_all_version_separators _)"
+DESCRIPTION="Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver."
+HOMEPAGE="http://www.broadcom.com/support/802.11/linux_sta.php"
+SRC_BASE="http://www.broadcom.com/docs/linux_sta/hybrid-portsrc-x86_"
+SRC_URI="x86? ( ${SRC_BASE}32-v${MY_PV}.tar.gz )
+ amd64? ( ${SRC_BASE}64-v${MY_PV}.tar.gz )"
+
+LICENSE="Broadcom"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RESTRICT="mirror"
+
+DEPEND=">=virtual/linux-sources-2.6.22"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+MODULE_NAMES="wl(net/wireless)"
+MODULESD_WL_ALIASES=("wlan0 wl")
+
+pkg_setup() {
+ check_license
+
+ if kernel_is ge 2 6 29; then
+ CONFIG_CHECK="LIB80211"
+ else
+ CONFIG_CHECK="IEEE80211 IEEE80211_CRYPT_TKIP"
+ fi
+ linux-mod_pkg_setup
+ BUILD_PARAMS="-C ${KV_DIR} M=${S}"
+ BUILD_TARGETS="wl.ko"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch \
+ "${FILESDIR}/${P}-hidden-essid.patch" \
+ "${FILESDIR}/${PF}-linux-2.6.29.patch" \
+ "${FILESDIR}/${P}-linux-2.6.30.patch" \
+ "${FILESDIR}/${P}-wl_iw_v2.patch" \
+ "${FILESDIR}/${P}-license.patch"
+
+}