summaryrefslogtreecommitdiff
blob: 0275e3a0e6771c5a92ac6aa0178f93f355279f86 (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
35
36
37
38
39
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/iwl3945-ucode/iwl3945-ucode-15.32.2.9.ebuild,v 1.1 2009/05/02 13:02:03 pva Exp $

MY_P="iwlwifi-3945-ucode-${PV}"

DESCRIPTION="Intel (R) PRO/Wireless 3945ABG Network Connection ucode"
HOMEPAGE="http://intellinuxwireless.org/?p=iwlwifi"
SRC_URI="http://intellinuxwireless.org/iwlwifi/downloads/${MY_P}.tgz"

LICENSE="Intel"
SLOT="1"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="|| ( >=sys-fs/udev-096 >=sys-apps/hotplug-20040923 )"
RDEPEND=""

S=${WORKDIR}/${MY_P}

src_compile() {
	true;
}

src_install() {
	insinto /lib/firmware
	doins iwlwifi-3945-2.ucode || die
	dodoc README*
}

pkg_postinst() {
	elog
	elog "Due to ucode API change this version of ucode works only with kernels"
	elog ">=2.6.29-rc1. If you have to use older kernels please install ucode"
	elog "with older API:"
	elog "emerge ${CATEGORY}/${PN}:0"
	elog "For more information take a look at bugs.gentoo.org/246045"
	elog
}