summaryrefslogtreecommitdiff
blob: 742527035d95e4724566bcd1f2ea4c03f2db9a2c (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit versionator

MY_PV=$(replace_all_version_separators "-")
MY_P="${PN}-${MY_PV}"

DESCRIPTION="Microcode for AMD x10h and x11h gen processors"
HOMEPAGE="http://www.amd64.org/support/microcode.html"
SRC_URI="http://www.amd64.org/pub/microcode/${MY_P}.tar"

LICENSE="amd-ucode"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

S=${WORKDIR}/${MY_P}

src_install() {
	insinto /lib/firmware/amd-ucode
	doins microcode_amd.bin || die "doins failed"
	}

pkg_postinst() {
	elog "Remember to enable microcode support in your kernel or load its module."
	}