wok-current annotate linux-pae-speakup/receipt @ rev 25695
Up linux 5.10.214, Patch xorg-server (CVE-2024-31080, CVE-2024-31081, CVE-2024-31082, CVE-2024-31083)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Apr 04 08:53:51 2024 +0000 (10 months ago) |
parents | 8e3f5f4438f1 |
children | bf7fc7b1447c |
rev | line source |
---|---|
shann@25667 | 1 # SliTaz package receipt. |
shann@25667 | 2 |
shann@25667 | 3 PACKAGE="linux-pae-speakup" |
shann@25695 | 4 VERSION="5.10.214" |
shann@25667 | 5 CATEGORY="base-system" |
shann@25667 | 6 SHORT_DESC="The Linux kernel Speakup modules." |
shann@25667 | 7 MAINTAINER="erjo@slitaz.org" |
shann@25667 | 8 LICENSE="GPL2" |
shann@25667 | 9 DEPENDS="linux-pae" |
shann@25667 | 10 WANTED="linux" |
shann@25667 | 11 PROVIDE="linux-speakup:linux-pae" |
shann@25667 | 12 WEB_SITE="https://www.kernel.org/" |
shann@25667 | 13 |
shann@25667 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
shann@25667 | 15 genpkg_rules() |
shann@25667 | 16 { |
shann@25667 | 17 local path |
shann@25667 | 18 src=$WOK/linux-pae/source/tmp |
shann@25667 | 19 install=$install/linux-pae |
shann@25667 | 20 path=lib/modules/$VERSION-slitaz-pae/kernel |
shann@25667 | 21 mkdir -p $fs/$path |
shann@25667 | 22 export src |
shann@25667 | 23 export install |
shann@25667 | 24 $wanted_stuff/list_modules.sh drivers/accessibility/speakup | while read module; do |
shann@25667 | 25 dir=$path/$(dirname $module) |
shann@25667 | 26 [ -d $fs/$dir ] || mkdir -p $fs/$dir |
shann@25667 | 27 cp -a $install/$path/$module $fs/$dir |
shann@25667 | 28 done |
shann@25667 | 29 |
shann@25667 | 30 for i in $(cat $wanted_stuff/modules.list); do |
shann@25667 | 31 if [ -f $fs/$path/$i ]; then |
shann@25667 | 32 rm -f $fs/$path/$i |
shann@25667 | 33 fi |
shann@25667 | 34 done |
shann@25667 | 35 } |
shann@25667 | 36 |
shann@25667 | 37 # Post install/remove commands for Tazpkg. |
shann@25667 | 38 post_install() |
shann@25667 | 39 { |
shann@25667 | 40 chroot "$root/" depmod -a $VERSION-slitaz-pae |
shann@25667 | 41 } |
shann@25667 | 42 |
shann@25667 | 43 post_remove() |
shann@25667 | 44 { |
shann@25667 | 45 chroot "$root/" depmod -a $VERSION-slitaz-pae |
shann@25667 | 46 } |
shann@25667 | 47 |