# ChangeLog for net-wireless/bcm43xx-fwcutter
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/bcm43xx-fwcutter/ChangeLog,v 1.7 2006/12/02 13:05:37 chainsaw Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/bcm43xx-fwcutter/ChangeLog,v 1.8 2007/01/22 04:55:22 josejx Exp $
+
+*bcm43xx-fwcutter-006 (22 Jan 2007)
+
+ 22 Jan 2007; Joseph Jezak <josejx@gentoo.org>
+ -bcm43xx-fwcutter-004.ebuild, +bcm43xx-fwcutter-006.ebuild:
+ Added latest version.
02 Dec 2006; Tony Vroon <chainsaw@gentoo.org> bcm43xx-fwcutter-005.ebuild:
Add ~ppc64 keyword. Tested on 64ul with GCC 4.X & BCM4306 hardware.
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/bcm43xx-fwcutter/bcm43xx-fwcutter-006.ebuild,v 1.1 2007/01/22 04:55:22 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 ~ppc64"
+
+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
+}
--- /dev/null
+MD5 83efd18480a4d151fc81a5f3ece60f93 bcm43xx-fwcutter-006.tar.bz2 27525
+RMD160 20cf001da1c6945aa899b7bb0d2cff6dd87d46f8 bcm43xx-fwcutter-006.tar.bz2 27525
+SHA256 5153c94ab59ed9d3f1a6c4ed4764953be61cefbf27a9c6b04c24cca7d44034ce bcm43xx-fwcutter-006.tar.bz2 27525