Permalink
Browse files

Added b43-firmware-5.100.138.

  • Loading branch information...
1 parent d455494 commit dfd24ad5b144ce3287489c5682ae46396d5c244c @BlueDragonX committed Jul 8, 2012
Showing with 37 additions and 0 deletions.
  1. +2 −0 net-wireless/b43-firmware/Manifest
  2. +35 −0 net-wireless/b43-firmware/b43-firmware-5.100.138.ebuild
@@ -0,0 +1,2 @@
+DIST broadcom-wl-5.100.138.tar.bz2 13514651 RMD160 ae063717a89648c0b4e4b9aa09348e7ec9f1461c SHA1 21691a8c99c66f58d18f863ee43593d1633b454c SHA256 f1e7067aac5b62b67b8b6e4c517990277804339ac16065eb13c731ff909ae46f
+EBUILD b43-firmware-5.100.138.ebuild 728 RMD160 a0402974730bc69a7e823ec447be47d5fb722326 SHA1 226d039a87f97f5487677b3223f058e5db355b6f SHA256 10a48359ada640045ee8846c0b8c8dc30069cfa7e7f1f6e66f7e94d43ef0e921
@@ -0,0 +1,35 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+: ${B43_FIRMWARE_SRC_OBJ:=wl_apsta.o}
+
+MY_P="broadcom-wl-${PV}"
+
+DESCRIPTION="broadcom firmware for b43 LP PHY and >=linux-2.6.32"
+HOMEPAGE="http://linuxwireless.org/en/users/Drivers/b43"
+SRC_URI="http://www.lwfinger.com/b43-firmware/${MY_P}.tar.bz2"
+
+LICENSE="as-is"
+SLOT="b43"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="mirror binchecks strip"
+
+DEPEND=">=net-wireless/b43-fwcutter-015"
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+ mkdir ebuild-output
+ b43-fwcutter -w ebuild-output $(find -name ${B43_FIRMWARE_SRC_OBJ})
+}
+
+src_install() {
+ insinto /lib/firmware
+ doins -r ebuild-output/*
+}
+

0 comments on commit dfd24ad

Please sign in to comment.