wok annotate linux-wireless/receipt @ rev 20591

compiz-plugins-unsupported, gucharmap3: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 15 21:00:34 2018 +0100 (2018-12-15)
parents 708b5293dd29
children da48d3800edf
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@20261 24 drivers/staging/rtl8712/r8712u.ko.xz drivers/staging/rtl8192u/r8192u_usb.ko.xz \
pascal@20261 25 drivers/staging/crystalhd/crystalhd.ko.xz | while read module; do
pascal@521 26 dir=$path/$(dirname $module)
pascal@521 27 [ -d $fs/$dir ] || mkdir -p $fs/$dir
pascal@15603 28 cp -a $install/$path/$module $fs/$dir
pascal@886 29 done
slaxemulator@7239 30
pankso@12285 31 for i in $(cat $wanted_stuff/modules.list); do
pankso@12285 32 if [ -f $fs/$path/$i ]; then
pankso@12285 33 rm -f $fs/$path/$i
slaxemulator@7239 34 fi
slaxemulator@7239 35 done
pascal@521 36 }
pascal@521 37
pascal@521 38 # Post install/remove commands for Tazpkg.
pascal@521 39 post_install()
pascal@521 40 {
pankso@15855 41 chroot "$root/" depmod -a $VERSION-slitaz
pascal@521 42 }
pascal@521 43
pascal@521 44 post_remove()
pascal@521 45 {
pankso@15855 46 chroot "$root/" depmod -a $VERSION-slitaz
pascal@521 47 }
pascal@521 48