summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Jezak <josejx@gentoo.org>2006-10-04 21:20:09 +0000
committerJoseph Jezak <josejx@gentoo.org>2006-10-04 21:20:09 +0000
commit25213ed94282c9788c7d3e94ff98778de2433e21 (patch)
tree36f305de53a1c5feb11efd055a33a1d55305524d /net-wireless/bcm43xx-fwcutter/bcm43xx-fwcutter-005.ebuild
parentStable on x86 wrt bug 150067 (diff)
downloadgentoo-2-25213ed94282c9788c7d3e94ff98778de2433e21.tar.gz
gentoo-2-25213ed94282c9788c7d3e94ff98778de2433e21.tar.bz2
gentoo-2-25213ed94282c9788c7d3e94ff98778de2433e21.zip
Added latest version, removed hotplug dependency, as it's not an actual dep.
(Portage version: 2.1.2_pre2-r1)
Diffstat (limited to 'net-wireless/bcm43xx-fwcutter/bcm43xx-fwcutter-005.ebuild')
-rw-r--r--net-wireless/bcm43xx-fwcutter/bcm43xx-fwcutter-005.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/net-wireless/bcm43xx-fwcutter/bcm43xx-fwcutter-005.ebuild b/net-wireless/bcm43xx-fwcutter/bcm43xx-fwcutter-005.ebuild
new file mode 100644
index 000000000000..2d458200cc34
--- /dev/null
+++ b/net-wireless/bcm43xx-fwcutter/bcm43xx-fwcutter-005.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/bcm43xx-fwcutter/bcm43xx-fwcutter-005.ebuild,v 1.1 2006/10/04 21:20:08 josejx Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="Firmware Tool for Broadcom 43xx based wireless network devices"
+HOMEPAGE="http://bcm43xx.berlios.de"
+SRC_URI="http://download.berlios.de/bcm43xx/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE=""
+DEPEND=""
+RDEPEND=""
+
+src_compile() {
+ emake CC="$(tc-getCC)" || die "emake failed"
+}
+
+src_install() {
+ # Install fwcutter
+ exeinto /usr/bin
+ doexe ${PN}
+ doman ${PN}.1
+ dodoc README
+}
+
+pkg_postinst() {
+ if ! [ -f /lib/firmware/${PN}_microcode2.fw ]; then
+ einfo
+ einfo "You'll need to use bcm43xx-fwcutter to install the bcm43xx firmware."
+ einfo "Please read the bcm43xx-fwcutter readme for more details:"
+ einfo "/usr/share/doc/${P}/README.gz"
+ einfo
+ fi
+
+ einfo "Please read this forum thread for help and troubleshooting:"
+ einfo "http://forums.gentoo.org/viewtopic-t-409194.html"
+ einfo
+}