# Template file for 'intel-ucode' pkgname=intel-ucode version=20130222 revision=1 short_desc="Microcode update files for Intel CPUs" maintainer="Juan RP " license="INTEL Software License Agreement" homepage="http://downloadcenter.intel.com/SearchResult.aspx?lang=eng&keyword=%22microcode%22" distfiles="http://downloadmirror.intel.com/22508/eng/microcode-${version}.tgz" checksum=fd25bd9777fc3c3b11f01e9090a2d24f7650023c9ec74bbf9f43bffe1d9d01cc create_wrksrc=yes noarch=yes do_build() { cp ${FILESDIR}/*.c . ${CC} -Wall ${CFLAGS} -o intel-microcode2ucode 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} }