blob: f942c888ac5a85cf9581bd1f615b0dd88bb88320 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-firmware/iwl6050-ucode/iwl6050-ucode-41.28.5.1.ebuild,v 1.2 2012/10/03 19:35:09 vapier Exp $
inherit linux-info
MY_PN="iwlwifi-6050-ucode"
DESCRIPTION="Intel (R) Wireless WiFi Link 6250-AGN ucode"
HOMEPAGE="http://intellinuxwireless.org/?p=iwlwifi"
SRC_URI="http://intellinuxwireless.org/iwlwifi/downloads/${MY_PN}-${PV}.tgz"
LICENSE="ipw3945"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
S="${WORKDIR}/${MY_PN}-${PV}"
src_compile() { :; }
src_install() {
insinto /lib/firmware
doins iwlwifi-6050-5.ucode || die
dodoc README* || die "dodoc failed"
if kernel_is lt 2 6 37; then
ewarn "Your kernel version is ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}"
ewarn "This microcode image requires a kernel >= 2.6.37 or a 2.6.36 "
ewarn "kernel using >= genpatches-2.6.36-8 which is included"
ewarn "in gentoo-sources >= 2.6.36-r6 or any kernel version >= 2.6.37."
fi
}
|