void-packages/srcpkgs/intel-ucode/template
2015-01-28 09:56:13 +01:00

24 lines
800 B
Text

# Template file for 'intel-ucode'
pkgname=intel-ucode
version=20150121
revision=1
noarch=yes
create_wrksrc=yes
short_desc="Microcode update files for Intel CPUs"
maintainer="Juan RP <xtraeme@gmail.com>"
license="INTEL Software License Agreement"
homepage="http://downloadcenter.intel.com/SearchResult.aspx?lang=eng&keyword=%22microcode%22"
distfiles="http://downloadmirror.intel.com/24661/eng/microcode-${version}.tgz"
checksum=23353b93bb421971496cea5e9f9d390ce0ed22580a8cc45ae7b3b322dcd8f6b3
only_for_archs="i686 x86_64"
do_build() {
${CC} -Wall ${CFLAGS} -o intel-microcode2ucode ${FILESDIR}/intel-microcode2ucode.c
./intel-microcode2ucode ./microcode.dat
}
do_install() {
vmkdir usr/lib/firmware/intel-ucode
vcopy "intel-ucode/*" usr/lib/firmware/intel-ucode
vlicense ${FILESDIR}/LICENSE
}