wok-current view linux64-coda/receipt @ rev 25734

Up rsync (CVE-2024-12084-88, CVE-2024-12747), xorg-server CVE-2024-9632, expat CVE-2024-50602, deps for webkit2gtk, up mesa 21.3.8, rework xorg proto, up get-LibreOffice/get-LibreOffice for x86_64
author Stanislas Leduc <shann@slitaz.org>
date Thu Jan 16 13:14:32 2025 +0000 (8 hours ago)
parents b24b6ee1d4d2
children
line source
1 # SliTaz package receipt.
3 PACKAGE="linux64-coda"
4 VERSION="5.10.221"
5 CATEGORY="base-system"
6 SHORT_DESC="The Linux kernel coda module."
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 DEPENDS="linux64"
10 WANTED="linux"
11 PROVIDE="linux-coda:linux64"
12 WEB_SITE="https://www.kernel.org/"
13 CONFIG_FILES="/etc/filesystems"
15 HOST_ARCH="i486 x86_64"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 local path
20 src=$WOK/linux64/source/tmp
21 install=$install/linux64
22 path=lib/modules/$VERSION-slitaz64/kernel
23 mkdir -p $fs/$path $fs/etc
24 export src
25 export install
26 $wanted_stuff/list_modules.sh fs/coda | while read module; do
27 dir=$path/$(dirname $module)
28 [ -d $fs/$dir ] || mkdir -p $fs/$dir
29 cp -a $install/$path/$module $fs/$dir
30 done
31 touch $fs/etc/filesystems
32 }
34 # Post install/remove commands for Tazpkg.
35 post_install()
36 {
37 grep -qs ^${PACKAGE#*-}$ "$1/etc/filesystems" || \
38 echo "${PACKAGE#*-}" >> "$1/etc/filesystems"
39 chroot "$1/" depmod -a $VERSION-slitaz64
40 }
42 post_remove()
43 {
44 sed -i "/^${PACKAGE#*-}\$/d" "$1/etc/filesystems"
45 chroot "$1/" depmod -a $VERSION-slitaz64
46 }