2012-01-10 09:29:26 +01:00
|
|
|
# Template file for 'intel-ucode'
|
|
|
|
pkgname=intel-ucode
|
2014-10-12 20:33:08 +02:00
|
|
|
version=20140913
|
2012-11-06 16:01:42 +01:00
|
|
|
revision=1
|
2014-01-01 16:10:11 +01:00
|
|
|
noarch=yes
|
|
|
|
create_wrksrc=yes
|
2012-01-10 09:29:26 +01:00
|
|
|
short_desc="Microcode update files for Intel CPUs"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="INTEL Software License Agreement"
|
2013-03-02 11:05:32 +01:00
|
|
|
homepage="http://downloadcenter.intel.com/SearchResult.aspx?lang=eng&keyword=%22microcode%22"
|
2014-11-02 16:10:38 +01:00
|
|
|
update_pattern='\d{8}(?=<br />\(Latest\))'
|
2014-10-12 20:33:08 +02:00
|
|
|
distfiles="http://downloadmirror.intel.com/24290/eng/microcode-${version}.tgz"
|
|
|
|
checksum=ea6c0ee21d1fbf261f093176a78089c21411e5fe0e2c35b258cedf2b39987e15
|
2014-02-02 17:48:27 +01:00
|
|
|
|
|
|
|
only_for_archs="i686 x86_64"
|
2012-01-10 09:29:26 +01:00
|
|
|
|
|
|
|
do_build() {
|
2014-10-12 20:33:08 +02:00
|
|
|
${CC} -Wall ${CFLAGS} -o intel-microcode2ucode ${FILESDIR}/intel-microcode2ucode.c
|
2012-01-10 09:29:26 +01:00
|
|
|
./intel-microcode2ucode ./microcode.dat
|
|
|
|
}
|
|
|
|
do_install() {
|
2012-07-09 17:50:00 +02:00
|
|
|
vmkdir usr/lib/firmware/intel-ucode
|
|
|
|
vcopy "intel-ucode/*" usr/lib/firmware/intel-ucode
|
2014-10-12 20:33:08 +02:00
|
|
|
vlicense ${FILESDIR}/LICENSE
|
2012-01-10 09:29:26 +01:00
|
|
|
}
|