wok-current annotate linux-gpio/receipt @ rev 25664
Up kernel to 4.19.307
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Feb 23 20:17:27 2024 +0000 (9 months ago) |
parents | 6c6067379b37 |
children | 8e3f5f4438f1 |
rev | line source |
---|---|
shann@25629 | 1 # SliTaz package receipt. |
shann@25629 | 2 |
shann@25629 | 3 PACKAGE="linux-gpio" |
shann@25664 | 4 VERSION="4.19.307" |
shann@25629 | 5 CATEGORY="base-system" |
shann@25629 | 6 SHORT_DESC="The Linux kernel gpio module." |
shann@25629 | 7 MAINTAINER="devel@slitaz.org" |
shann@25629 | 8 LICENSE="GPL2" |
shann@25629 | 9 DEPENDS="linux" |
shann@25629 | 10 WANTED="linux" |
shann@25629 | 11 WEB_SITE="https://www.kernel.org/" |
shann@25629 | 12 |
shann@25629 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
shann@25629 | 14 genpkg_rules() |
shann@25629 | 15 { |
shann@25629 | 16 local path |
shann@25629 | 17 path=lib/modules/$VERSION-slitaz/kernel |
shann@25629 | 18 mkdir -p $fs/$path |
shann@25629 | 19 export src install |
shann@25629 | 20 $wanted_stuff/list_modules.sh drivers/gpio | while read module; do |
shann@25629 | 21 dir=$path/$(dirname $module) |
shann@25629 | 22 [ -d $fs/$dir ] || mkdir -p $fs/$dir |
shann@25629 | 23 cp -a $install/$path/$module $fs/$dir |
shann@25629 | 24 done |
shann@25629 | 25 } |
shann@25629 | 26 |
shann@25629 | 27 # Post install/remove commands for Tazpkg. |
shann@25629 | 28 post_install() |
shann@25629 | 29 { |
shann@25629 | 30 chroot "$1/" depmod -a $VERSION-slitaz |
shann@25629 | 31 } |
shann@25629 | 32 |
shann@25629 | 33 post_remove() |
shann@25629 | 34 { |
shann@25629 | 35 chroot "$1/" depmod -a $VERSION-slitaz |
shann@25629 | 36 } |