wok-current annotate linux64-sound/receipt @ rev 25702
Up git (CVE-2024-32002,CVE-2024-32004,CVE-2024-32020,CVE-2024-32021,CVE-2024-32465), gdk-pixbuf CVE-2022-48622, up linux 5.10.217
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon May 20 11:38:26 2024 +0000 (5 weeks ago) |
parents | bf7fc7b1447c |
children |
rev | line source |
---|---|
pankso@12285 | 1 # SliTaz package receipt. |
pankso@12285 | 2 |
pankso@12285 | 3 PACKAGE="linux64-sound" |
shann@25702 | 4 VERSION="5.10.217" |
pankso@12285 | 5 CATEGORY="base-system" |
pankso@12285 | 6 SHORT_DESC="The Linux kernel sound modules." |
pankso@12285 | 7 MAINTAINER="devel@slitaz.org" |
pascal@14657 | 8 LICENSE="GPL2" |
pankso@12285 | 9 DEPENDS="linux64" |
pankso@12285 | 10 WANTED="linux" |
pascal@17031 | 11 PROVIDE="linux-sound:linux64" |
pascal@20421 | 12 WEB_SITE="https://www.kernel.org/" |
pankso@12285 | 13 |
pankso@12285 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12285 | 15 genpkg_rules() |
pankso@12285 | 16 { |
pankso@12285 | 17 local path |
pascal@17277 | 18 src=$WOK/linux64/source/tmp |
pascal@16657 | 19 install=$install/linux64 |
pascal@17028 | 20 path=lib/modules/$VERSION-slitaz64/kernel |
pankso@12285 | 21 mkdir -p $fs/$path |
pankso@12285 | 22 export src |
pascal@16657 | 23 export install |
pankso@12285 | 24 $wanted_stuff/list_modules.sh sound | while read module; do |
pankso@12285 | 25 dir=$path/$(dirname $module) |
pankso@12285 | 26 [ -d $fs/$dir ] || mkdir -p $fs/$dir |
pascal@16657 | 27 cp -a $install/$path/$module $fs/$dir |
pankso@12285 | 28 done |
pankso@12285 | 29 mkdir $fs/lib/firmware |
pankso@12285 | 30 for i in ess korg sun yamaha; do |
shann@25668 | 31 cp -a $WOK/firmware/install/lib/firmware/$i \ |
shann@25668 | 32 $fs/lib/firmware |
pankso@12285 | 33 done |
pankso@12285 | 34 |
pankso@12285 | 35 for i in $(cat $wanted_stuff/modules.list); do |
pankso@12285 | 36 if [ -f $fs/$path/$i ]; then |
pankso@12285 | 37 rm -f $fs/$path/$i |
pankso@12285 | 38 fi |
pankso@12285 | 39 done |
pankso@12285 | 40 |
pankso@12285 | 41 } |
pankso@12285 | 42 |
pankso@12285 | 43 # Post install/remove commands for Tazpkg. |
pankso@12285 | 44 post_install() |
pankso@12285 | 45 { |
pascal@17032 | 46 chroot "$root/" depmod -a $VERSION-slitaz64 |
pankso@12285 | 47 } |
pankso@12285 | 48 |
pankso@12285 | 49 post_remove() |
pankso@12285 | 50 { |
pascal@17032 | 51 chroot "$root/" depmod -a $VERSION-slitaz64 |
pankso@12285 | 52 } |
pankso@12285 | 53 |