void-packages/srcpkgs/amd-ucode/template

28 lines
862 B
Text

# Template file for 'amd-ucode'
pkgname=amd-ucode
_distver=2012-09-10
version=$(echo ${_distver}|sed 's|-|.|g')
wrksrc=${pkgname}-${_distver}
revision=2
short_desc="Microcode update files for AMD CPUs"
maintainer="Juan RP <xtraeme@gmail.com>"
license="AMD Software License"
homepage="http://www.amd64.org/support/microcode.html"
distfiles="http://www.amd64.org/pub/microcode/amd-ucode-${_distver}.tar"
checksum=21845c6cafa99704cdf4862b55e899ca88ed432d57f4d09ad6a5c3d2e186b718
long_desc="
This package contains the microcode updates for AMD CPUs for use with
the microcode linux kernel module."
do_install() {
vinstall microcode_amd.bin 644 usr/lib/firmware/amd-ucode
vinstall microcode_amd_fam15h.bin 644 usr/lib/firmware/amd-ucode
vinstall LICENSE 644 usr/share/licenses/${pkgname}
}
amd-ucode_package() {
noarch="yes"
pkg_install() {
vmove usr
}
}