diff --git a/srcpkgs/intel-ucode/template b/srcpkgs/intel-ucode/template index 3f1a1c57ed..7eb4fd37ce 100644 --- a/srcpkgs/intel-ucode/template +++ b/srcpkgs/intel-ucode/template @@ -1,19 +1,21 @@ # Template file for 'intel-ucode' pkgname=intel-ucode -version=20120606 -create_wrksrc=yes -noarch=yes -revision=2 +_distver=20120606-v2 +version=${_distver%-*}v2 +revision=1 short_desc="Microcode update files for Intel CPUs" maintainer="Juan RP " license="INTEL Software License Agreement" -homepage="http://www.intel.com" -distfiles="http://downloadmirror.intel.com/21385/eng/microcode-${version}.tgz" -checksum=e139e438587114028d699162af6dde25b18e1c1cef13c39896a37f22242d4943 +homepage="http://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=21925" +distfiles="http://downloadmirror.intel.com/21925/eng/microcode-${_distver}.tgz" +checksum=977652df13ff7e1eb048bdc0a6934f2f1bb1a938327e83d4766aafa0c7beb5c7 long_desc=" This package contains the microcode updates for Intel CPUs for use with the microcode linux kernel module." +create_wrksrc=yes +noarch=yes + do_build() { cp ${FILESDIR}/*.c . gcc -Wall ${CFLAGS} -o intel-microcode2ucode intel-microcode2ucode.c