wok-current view intel-microcode/receipt @ rev 23698
updated tiff, tiff-apps and tiff-dev (4.0.10 -> 4.1.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 28 07:51:26 2020 +0100 (2020-04-28) |
parents | 10c3a6f71c06 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="intel-microcode"
4 VERSION="20191115"
5 CATEGORY="kernel"
6 SHORT_DESC="Intel processor microcode update for Linux."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="other"
9 WEB_SITE="https://downloadcenter.intel.com/search?keyword=processor+microcode+data+file"
10 # See also: https://wiki.archlinux.org/index.php/Microcode
11 # and https://www.archlinux.org/packages/extra/any/intel-ucode/
14 TARBALL="$PACKAGE-$VERSION.tar.gz"
15 WGET_URL="https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/microcode-$VERSION.tar.gz"
17 DEPENDS="linux"
19 compile_rules()
20 {
21 mkdir -p $install/lib/firmware/
23 cp -r $src/intel-ucode/ $install/lib/firmware/
25 install -Dm644 $stuff/LICENSE $install/usr/share/licenses/$PACKAGE/LICENSE
26 }
28 genpkg_rules()
29 {
30 cp -r $install/* $fs
31 }
33 post_install()
34 {
35 if [ -z "$1" -a -e /sys/devices/system/cpu/microcode/reload ]
36 then
37 echo 1 > /sys/devices/system/cpu/microcode/reload
38 fi
39 }