# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 MY_P=iwlwifi-4965-ucode-${PV} DESCRIPTION="Intel (R) Wireless WiFi Link 4965AGN ucode" HOMEPAGE="http://intellinuxwireless.org/?p=iwlwifi" SRC_URI="http://www.linuxwireless.org/attachments/en/users/Drivers/iwlegacy/${MY_P}.tgz" LICENSE="ipw3945" SLOT="1" KEYWORDS="amd64 x86" IUSE="" S=${WORKDIR}/${MY_P} src_compile() { true; } src_install() { insinto /lib/firmware doins iwlwifi-4965-2.ucode || die dodoc README* || die "dodoc failed" } pkg_postinst() { elog "Due to ucode API change this version of ucode works only with kernels" elog ">=2.6.27. If you need ucode for older versions please install it with" elog "emerge sys-firmware/${PN}:0" elog "For more information take a look at bugs.gentoo.org/235007" }