/[gentoo-x86]/sys-apps/microcode-data/microcode-data-20120606.ebuild
Gentoo

Contents of /sys-apps/microcode-data/microcode-data-20120606.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Sep 23 08:15:03 2012 UTC (2 years ago) by phajdan.jr
Branch: MAIN
Changes since 1.2: +2 -2 lines
x86 stable wrt bug #429198

(Portage version: 2.1.11.9/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-apps/microcode-data/microcode-data-20120606.ebuild,v 1.2 2012/09/13 10:04:27 ago Exp $
4
5 EAPI=4
6
7 inherit toolchain-funcs
8
9 NUM="21385"
10 DESCRIPTION="Intel IA32 microcode update data"
11 HOMEPAGE="http://urbanmyth.org/microcode/"
12 SRC_URI="http://downloadmirror.intel.com/${NUM}/eng/microcode-${PV}.tgz"
13
14 LICENSE="intel-ucode"
15 SLOT="0"
16 KEYWORDS="amd64 x86"
17 IUSE=""
18
19 RDEPEND="!<sys-apps/microcode-ctl-1.17-r2" #268586
20
21 S=${WORKDIR}
22
23 src_unpack() {
24 unpack ${A}
25 cp "${FILESDIR}"/intel-microcode2ucode.c ./ || die
26 }
27
28 src_compile() {
29 tc-env_build emake intel-microcode2ucode
30 ./intel-microcode2ucode microcode.dat || die
31 }
32
33 src_install() {
34 insinto /lib/firmware
35 doins -r microcode.dat intel-ucode
36 }
37
38 pkg_postinst() {
39 elog "The microcode available for Intel CPUs has been updated. You'll need"
40 elog "to reload the code into your processor. If you're using the init.d:"
41 elog "/etc/init.d/microcode_ctl restart"
42 }

  ViewVC Help
Powered by ViewVC 1.1.20