# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-wireless/iwl4965-ucode/iwl4965-ucode-4.44.1.20.ebuild,v 1.3 2008/02/22 04:09:52 compnerd Exp $ inherit eutils linux-mod MY_PN="iwlwifi-4965-ucode" DESCRIPTION="Intel (R) Wireless WiFi Link 4965AGN ucode" HOMEPAGE="http://intellinuxwireless.org/?p=iwlwifi" SRC_URI="http://intellinuxwireless.org/iwlwifi/downloads/${MY_PN}-${PV}.tgz" LICENSE="Intel" SLOT="2" KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND="|| ( >=sys-fs/udev-096 >=sys-apps/hotplug-20040923 )" DEPEND="${RDEPEND}" S="${WORKDIR}/${MY_PN}-${PV}" pkg_setup() { if ( kernel_is lt 2 6 27 ); then ewarn "$P is for kernels >=2.6.27!" ewarn "Use ` echo ${P} | sed s/.2./.1./g ` instead!" fi } src_compile() { true; } src_install() { insinto /lib/firmware doins "${S}/iwlwifi-4965-2.ucode" dodoc README* }