# Template file for 'intel-microcode'
pkgname=intel-microcode
version=20101123
distfiles="http://downloadmirror.intel.com/19611/eng/microcode-$version.tgz"
short_desc="Processor microcode data file for Intel CPUs"
build_style=custom-install
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=d6fdce48483e38af4891206c5ebeb12f8881c1d5eb57214b1d8bab219e9f84f9
long_desc="
 The microcode data file for Linux contains the latest microcode definitions
 for all Intel processors. Intel releases microcode updates to correct
 processor behavior as documented in the respective processor specification
 updates. While the regular approach to getting this microcode update is via
 a BIOS upgrade, Intel realizes that this is an administrative hassle; the
 Linux Operating System has a mechanism to update the microcode after booting
 the OS.

 This package contains only the microcode, so it needs the loader provided in
 the package microcode_ctl"

nostrip=yes
noextract=yes

do_install()
{
	tar xfz ${XBPS_SRCDISTDIR}/microcode-${version}.tgz
	install -D -m644 microcode-${version}.dat \
		${DESTDIR}/lib/firmware/intel-microcode.dat
}
