intel-ucode: update to 20140913.

This commit is contained in:
Juan RP 2014-10-12 20:33:08 +02:00
parent 91786a4186
commit f44e673dab

View file

@ -1,6 +1,6 @@
# Template file for 'intel-ucode'
pkgname=intel-ucode
version=20140624
version=20140913
revision=1
noarch=yes
create_wrksrc=yes
@ -8,19 +8,17 @@ 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/23984/eng/microcode-${version}.tgz"
checksum=b4662ac780438a7b2d87e6d26a7066feb807f37c6e5b6fa147089f4edb02ea37
distfiles="http://downloadmirror.intel.com/24290/eng/microcode-${version}.tgz"
checksum=ea6c0ee21d1fbf261f093176a78089c21411e5fe0e2c35b258cedf2b39987e15
only_for_archs="i686 x86_64"
do_build() {
cp ${FILESDIR}/*.c .
${CC} -Wall ${CFLAGS} -o intel-microcode2ucode intel-microcode2ucode.c
${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
vinstall ${FILESDIR}/LICENSE 644 usr/share/licenses/${pkgname}
vlicense ${FILESDIR}/LICENSE
}