diff options
author | Peter Volkov <pva@gentoo.org> | 2009-01-22 11:57:51 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2009-01-22 11:57:51 +0000 |
commit | 5c70fda69535cf3e1e0997b503fb7f2eb88d6f6f (patch) | |
tree | d3e9f68ce79b39d771960e4575e27784bef66362 /net-wireless/iwl4965-ucode/iwl4965-ucode-228.57.2.23.ebuild | |
parent | Add expert options to change udevsettle timeout and to run udevmonitor at boo... (diff) | |
download | historical-5c70fda69535cf3e1e0997b503fb7f2eb88d6f6f.tar.gz historical-5c70fda69535cf3e1e0997b503fb7f2eb88d6f6f.tar.bz2 historical-5c70fda69535cf3e1e0997b503fb7f2eb88d6f6f.zip |
Took maintainance. Added warning in stable ebuild and check kernel version in unstable for bug #235007. Thank Oisin O Malley for report and R Bar-On for solution.
Package-Manager: portage-2.2_rc23/cvs/Linux i686
Diffstat (limited to 'net-wireless/iwl4965-ucode/iwl4965-ucode-228.57.2.23.ebuild')
-rw-r--r-- | net-wireless/iwl4965-ucode/iwl4965-ucode-228.57.2.23.ebuild | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/net-wireless/iwl4965-ucode/iwl4965-ucode-228.57.2.23.ebuild b/net-wireless/iwl4965-ucode/iwl4965-ucode-228.57.2.23.ebuild index 853c8dd48361..aab8cb37e284 100644 --- a/net-wireless/iwl4965-ucode/iwl4965-ucode-228.57.2.23.ebuild +++ b/net-wireless/iwl4965-ucode/iwl4965-ucode-228.57.2.23.ebuild @@ -1,12 +1,14 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/iwl4965-ucode/iwl4965-ucode-228.57.2.23.ebuild,v 1.1 2009/01/06 11:20:52 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/iwl4965-ucode/iwl4965-ucode-228.57.2.23.ebuild,v 1.2 2009/01/22 11:57:51 pva Exp $ -MY_PN="iwlwifi-4965-ucode" +inherit linux-info + +MY_P=iwlwifi-4965-ucode-${PV} 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" +SRC_URI="http://intellinuxwireless.org/iwlwifi/downloads/${MY_P}.tgz" LICENSE="Intel" SLOT="1" @@ -14,8 +16,19 @@ KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="|| ( >=sys-fs/udev-096 >=sys-apps/hotplug-20040923 )" - -S="${WORKDIR}/${MY_PN}-${PV}" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + if kernel_is lt 2 6 27 ; then + eerror "Due to ucode API change this version of ucode works only with kernels" + eerror ">=2.6.27. Please either upgrade your kernel or mask" + eerror "net-wireless/iwl4965-unicode:1. For more information take a" + eerror "look at bugs.gentoo.org/235007" + die "${PN} requires at least kernel 2.6.27." + fi +} src_compile() { true; @@ -23,7 +36,6 @@ src_compile() { src_install() { insinto /lib/firmware - doins "${S}/iwlwifi-4965-2.ucode" - + doins iwlwifi-4965-2.ucode || die dodoc README* || die "dodoc failed" } |