wok-6.x view intel-microcode/receipt @ rev 21612

ffmpegthumbnailer: use cmake
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 23 17:32:52 2019 +0200 (2019-05-23)
parents 8310ba69ef5b
children 4cdb6e72455c
line source
1 # SliTaz package receipt.
3 PACKAGE="intel-microcode"
4 VERSION="20180807a"
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.tgz"
15 WGET_URL="https://downloadmirror.intel.com/28087/eng/microcode-$VERSION.tgz"
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 ]; then
36 echo 1 > /sys/devices/system/cpu/microcode/reload
37 fi
38 }