wok-6.x view intel-microcode/receipt @ rev 20681
Down cdrtools (3.00) again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 26 17:03:55 2019 +0100 (2019-01-26) |
parents | 12473799110f |
children | 10c3a6f71c06 |
line source
1 # SliTaz package receipt.
3 PACKAGE="intel-microcode"
4 VERSION="20180312"
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://downloadmirror.intel.com/27591/eng/microcode-$VERSION.tgz"
17 DEPENDS="linux"
19 compile_rules() {
20 mkdir -p $install/lib/firmware/
21 cp -r $src/intel-ucode/ $install/lib/firmware/
23 install -Dm644 $stuff/LICENSE $install/usr/share/licenses/$PACKAGE/LICENSE
24 }
26 genpkg_rules() {
27 cp -r $install/* $fs
28 }
30 post_install() {
31 if [ -z "$1" -a -e /sys/devices/system/cpu/microcode/reload ]; then
32 echo 1 > /sys/devices/system/cpu/microcode/reload
33 fi
34 }