void-packages/srcpkgs/amd-ucode/template

29 lines
862 B
Text
Raw Normal View History

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