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