wok annotate linux-wireless/receipt @ rev 25005

updated ntl (11.4.3 -> 11.5.1)
author Hans-G?nter Theisgen
date Mon May 16 16:29:07 2022 +0100 (2022-05-16)
parents 86790a278e70
children 28ad9727a1c6
rev   line source
pascal@521 1 # SliTaz package receipt.
pascal@521 2
pascal@521 3 PACKAGE="linux-wireless"
pascal@20261 4 VERSION="3.16.55"
pascal@521 5 CATEGORY="base-system"
pascal@521 6 SHORT_DESC="The Linux kernel wireless modules."
pankso@3864 7 MAINTAINER="devel@slitaz.org"
pascal@14657 8 LICENSE="GPL2"
pascal@521 9 WANTED="linux"
pascal@20421 10 WEB_SITE="https://www.kernel.org/"
taziden@1904 11 DEPENDS="linux-crypto wireless_tools"
erjo@1903 12
pascal@521 13 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@521 14 genpkg_rules()
pascal@521 15 {
pascal@521 16 local path
pankso@15855 17 path=lib/modules/$VERSION-slitaz/kernel
pascal@521 18 mkdir -p $fs/$path
erjo@1851 19
pankso@15855 20 export src install
erjo@1851 21
slaxemulator@9700 22 $wanted_stuff/list_modules.sh drivers/net/wireless drivers/staging/wlan-ng \
pascal@20261 23 drivers/misc/echo drivers/leds net/wireless net/mac80211 \
pascal@24141 24 drivers/staging/rtl8188eu/r8188eu.ko.xz \
pascal@20261 25 drivers/staging/rtl8712/r8712u.ko.xz drivers/staging/rtl8192u/r8192u_usb.ko.xz \
pascal@20261 26 drivers/staging/crystalhd/crystalhd.ko.xz | while read module; do
pascal@521 27 dir=$path/$(dirname $module)
pascal@521 28 [ -d $fs/$dir ] || mkdir -p $fs/$dir
pascal@15603 29 cp -a $install/$path/$module $fs/$dir
pascal@886 30 done
slaxemulator@7239 31
pankso@12285 32 for i in $(cat $wanted_stuff/modules.list); do
pankso@12285 33 if [ -f $fs/$path/$i ]; then
pankso@12285 34 rm -f $fs/$path/$i
slaxemulator@7239 35 fi
slaxemulator@7239 36 done
pascal@521 37 }
pascal@521 38
pascal@521 39 # Post install/remove commands for Tazpkg.
pascal@521 40 post_install()
pascal@521 41 {
pankso@15855 42 chroot "$root/" depmod -a $VERSION-slitaz
pascal@521 43 }
pascal@521 44
pascal@521 45 post_remove()
pascal@521 46 {
pankso@15855 47 chroot "$root/" depmod -a $VERSION-slitaz
pascal@521 48 }
pascal@521 49