/[gentoo-x86]/sys-firmware/iwl7265-ucode/iwl7265-ucode-0.8.24.22.ebuild
Gentoo

Contents of /sys-firmware/iwl7265-ucode/iwl7265-ucode-0.8.24.22.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun May 3 05:42:59 2015 UTC (4 years, 5 months ago) by prometheanfire
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
sys-firmware/iwl7265-ucode removal

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-firmware/iwl7265-ucode/iwl7265-ucode-0.8.24.22.ebuild,v 1.2 2015/02/23 03:34:53 prometheanfire Exp $
4
5 EAPI=5
6 inherit linux-info versionator
7
8 DEV_N="${PN:3:4}"
9 vc=($(get_all_version_components "${PV}"))
10 MY_PV="${vc[6]}.${vc[4]}.${vc[2]}.${vc[0]}"
11 MY_PN="iwlwifi-${DEV_N}-ucode"
12
13 DV_MAJOR="3"
14 DV_MINOR="13"
15 DV_PATCH="0"
16
17 DESCRIPTION="Firmware for Intel (R) Dual Band Wireless-AC ${DEV_N}"
18 HOMEPAGE="http://wireless.kernel.org/en/users/Drivers/iwlwifi"
19 SRC_URI="https://wireless.wiki.kernel.org/_media/en/users/drivers/${MY_PN}-${MY_PV}.tgz -> ${P}.tgz"
20
21 LICENSE="ipw3945"
22 SLOT="${vc[2]}"
23 KEYWORDS="~amd64 ~x86"
24 IUSE="bluetooth"
25
26 DEPEND=""
27 RDEPEND="!sys-kernel/linux-firmware[-savedconfig]"
28
29 S="${WORKDIR}/${MY_PN}-${MY_PV}"
30
31 CONFIG_CHECK="~IWLMVM"
32 ERROR_IWLMVM="CONFIG_IWLMVM is required to be enabled in /usr/src/linux/.config for the kernel to be able to load the ${DEV_N} firmware"
33
34 pkg_pretend() {
35 if kernel_is lt "${DV_MAJOR}" "${DV_MINOR}" "${DV_PATCH}"; then
36 ewarn "Your kernel version is ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}."
37 ewarn "This microcode image requires a kernel >= ${DV_MAJOR}.${DV_MINOR}.${DV_PATCH}."
38 ewarn "For kernel versions < ${DV_MAJOR}.${DV_MINOR}.${DV_PATCH}, you may install older SLOTS"
39 fi
40 }
41
42 src_install() {
43 insinto /lib/firmware
44 doins "${S}/iwlwifi-${DEV_N}-${vc[2]}.ucode"
45 dodoc README*
46 }

  ViewVC Help
Powered by ViewVC 1.1.20