# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Microcode for the Intel PRO/Wireless 3945ABG miniPCI express adapter using the iwlwifi driver" HOMEPAGE="http://www.bughost.org/iwlwifi/" SRC_URI="http://intellinuxwireless.org/iwlwifi/downloads/${P}.tgz" LICENSE="iwlwifi" #not sure about that SLOT="0" KEYWORDS="~x86" IUSE="" IUSE="" DEPEND="|| ( >=sys-fs/udev-096 >=sys-apps/hotplug-20040923 )" #This ugly hack is needed since ${A} is not really a gz file but a tar file instead. src_unpack ist confused about that. I already informed the iwlwifi devs to change that src_unpack() { tar -xf ${DISTDIR}/${A} } src_install() { insinto /lib/firmware doins iwlwifi-3945.ucode LICENSE.iwlwifi-ucode dodoc README.iwlwifi-ucode }