diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-wireless/bcm43xx-fwcutter/bcm43xx-fwcutter-006.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-wireless/bcm43xx-fwcutter/bcm43xx-fwcutter-006.ebuild')
-rw-r--r-- | net-wireless/bcm43xx-fwcutter/bcm43xx-fwcutter-006.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/net-wireless/bcm43xx-fwcutter/bcm43xx-fwcutter-006.ebuild b/net-wireless/bcm43xx-fwcutter/bcm43xx-fwcutter-006.ebuild new file mode 100644 index 000000000000..6a7b50bbd0a2 --- /dev/null +++ b/net-wireless/bcm43xx-fwcutter/bcm43xx-fwcutter-006.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit toolchain-funcs + +DESCRIPTION="Firmware Tool for Broadcom 43xx based wireless network devices" +HOMEPAGE="http://bcm43xx.berlios.de" +#SRC_URI="mirror://berlios/bcm43xx/${P}.tar.bz2" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ppc ~ppc64 ~x86" +IUSE="" + +src_compile() { + emake CC="$(tc-getCC)" || die "emake failed" +} + +src_install() { + # Install fwcutter + dobin ${PN} + doman ${PN}.1 + dodoc README +} + +pkg_postinst() { + if ! [ -f /lib/firmware/${PN}_microcode2.fw ]; then + echo + einfo "You'll need to use bcm43xx-fwcutter to install the bcm43xx firmware." + einfo "Please read the bcm43xx-fwcutter readme for more details:" + einfo "README in /usr/share/doc/${P}" + echo + fi + + einfo "Please read this forum thread for help and troubleshooting:" + einfo "https://forums.gentoo.org/viewtopic-t-409194.html" + echo +} |