wok view intel-microcode/receipt @ rev 25321

updated sqlobject (3.8.0 -> 3.9.1)
author Hans-G?nter Theisgen
date Fri Jul 22 07:45:13 2022 +0100 (2022-07-22)
parents cc915c928cd6
children 8ea0030e77cb
line source
1 # SliTaz package receipt.
3 PACKAGE="intel-microcode"
4 VERSION="20220207"
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 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/microcode-\(.*\).tar.*|\1|;q'
23 }
25 compile_rules()
26 {
27 mkdir -p $install/lib/firmware/
29 cp -r $src/intel-ucode/ $install/lib/firmware/
31 install -Dm644 $stuff/LICENSE $install/usr/share/licenses/$PACKAGE/LICENSE
32 }
34 genpkg_rules()
35 {
36 cp -r $install/* $fs
37 }
39 post_install()
40 {
41 if [ -z "$1" -a -e /sys/devices/system/cpu/microcode/reload ]
42 then
43 echo 1 > /sys/devices/system/cpu/microcode/reload
44 fi
45 }