wok annotate linux-mmc/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
children
rev   line source
pascal@23913 1 # SliTaz package receipt.
pascal@23913 2
pascal@23913 3 PACKAGE="linux-mmc"
pascal@23913 4 VERSION="3.16.55"
pascal@23913 5 CATEGORY="base-system"
pascal@23913 6 SHORT_DESC="The Linux kernel MMC modules."
pascal@23913 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@23913 8 LICENSE="GPL2"
pascal@23913 9 DEPENDS="linux"
pascal@23913 10 WANTED="linux"
pascal@23913 11 WEB_SITE="https://www.kernel.org/"
pascal@23913 12
pascal@23913 13 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@23913 14 genpkg_rules()
pascal@23913 15 {
pascal@23913 16 local path
pascal@23913 17 path=lib/modules/$VERSION-slitaz/kernel
pascal@23913 18 mkdir -p $fs/$path
pascal@23913 19 export src install
pascal@23913 20 $wanted_stuff/list_modules.sh drivers/mmc | while read module; do
pascal@23913 21 dir=$path/$(dirname $module)
pascal@23913 22 [ -d $fs/$dir ] || mkdir -p $fs/$dir
pascal@23913 23 cp -a $install/$path/$module $fs/$dir
pascal@23913 24 done
pascal@23913 25
pascal@23913 26 for i in $(cat $wanted_stuff/modules.list); do
pascal@23913 27 if [ -f $fs/$path/$i ]; then
pascal@23913 28 rm -f $fs/$path/$i
pascal@23913 29 fi
pascal@23913 30 done
pascal@23913 31 }
pascal@23913 32
pascal@23913 33 # Post install/remove commands for Tazpkg.
pascal@23913 34 post_install()
pascal@23913 35 {
pascal@23913 36 chroot "$root/" depmod -a $VERSION-slitaz
pascal@23913 37 }
pascal@23913 38
pascal@23913 39 post_remove()
pascal@23913 40 {
pascal@23913 41 chroot "$root/" depmod -a $VERSION-slitaz
pascal@23913 42 }
pascal@23913 43