SUMMARY="Intel Processor Microcode Update"
DESCRIPTION="CPU microcode is a mechanism to correct certain errata in \
existing systems. The normal preferred method to apply microcode updates is \
using the system BIOS, but for a subset of Intel's processors this can be done\
 at runtime using the operating system. This package contains those processors\
 that support OS loading of microcode updates."
HOMEPAGE="https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/"
COPYRIGHT="2018-2021 Intel Corporation"
LICENSE="Intel CPU Microcode"
REVISION="1"
SOURCE_URI="https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/microcode-$portVersion.tar.gz"
SOURCE_DIR="Intel-Linux-Processor-Microcode-Data-Files-microcode-$portVersion"
CHECKSUM_SHA256="532527bd17f3ea6664452b536699818a3bf896e4ace689a43a73624711b7c921"

ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"

PROVIDES="
	intel_microcode = $portVersion
	"

INSTALL()
{
	mkdir -p $dataDir/firmware/intel-ucode
	cp intel-ucode{,-with-caveats}/* $dataDir/firmware/intel-ucode/
}
