summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/b43-firmware/b43-firmware-3.130.20.0.ebuild')
-rw-r--r--net-wireless/b43-firmware/b43-firmware-3.130.20.0.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/net-wireless/b43-firmware/b43-firmware-3.130.20.0.ebuild b/net-wireless/b43-firmware/b43-firmware-3.130.20.0.ebuild
new file mode 100644
index 000000000000..cdc30bffb3eb
--- /dev/null
+++ b/net-wireless/b43-firmware/b43-firmware-3.130.20.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/b43-firmware/b43-firmware-3.130.20.0.ebuild,v 1.1 2010/01/09 21:30:37 vapier Exp $
+
+: ${B43_FIRMWARE_SRC_OBJ:=${A}}
+
+MY_P="broadcom-wl-${PV}"
+DESCRIPTION="broadcom firmware for b43legacy/bcm43xx"
+HOMEPAGE="http://linuxwireless.org/en/users/Drivers/b43"
+SRC_URI="http://downloads.openwrt.org/sources/wl_apsta-${PV}.o"
+
+LICENSE="as-is"
+SLOT="b43legacy"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="nomirror binchecks strip"
+
+DEPEND=">=net-wireless/b43-fwcutter-012"
+RDEPEND=""
+
+S=${WORKDIR}
+
+src_unpack() {
+ cp "${DISTDIR}/${A}" "${WORKDIR}" || die
+}
+
+src_compile() {
+ mkdir ebuild-output
+ b43-fwcutter -w ebuild-output $(find -name ${B43_FIRMWARE_SRC_OBJ}) || die
+}
+
+src_install() {
+ insinto /lib/firmware
+ doins -r ebuild-output/* || die
+}