wok-6.x view linux-libre-wireless/receipt @ rev 25219
updated python-pip (20.0.2 -> 20.3.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 15:45:09 2022 +0100 (2022-07-13) |
parents | 28ad9727a1c6 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="linux-libre-wireless"
4 VERSION="3.18.129-gnu"
5 CATEGORY="base-system"
6 SHORT_DESC="The Linux Libre kernel wireless modules."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="GPL2"
9 PROVIDE="linux-wireless"
10 WANTED="linux-libre"
11 WEB_SITE="http://www.fsfla.org/svnwiki/selibre/linux-libre/"
12 DEPENDS="linux-libre-crypto wireless_tools"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 local path
18 path=lib/modules/$VERSION-slitaz/kernel
19 mkdir -p $fs/$path
21 export src
22 export _pkg
24 $wanted_stuff/list_modules.sh drivers/net/wireless drivers/staging/wlan-ng \
25 drivers/misc/echo drivers/leds net/wireless net/mac80211 \
26 drivers/staging/rtl8192u/r8192u_usb.ko.xz drivers/staging/rtl8712/r8712u.ko.xz \
27 drivers/staging/rtl8188eu/r8188eu.ko.xz | while read module; do
28 dir=$path/$(dirname $module)
29 [ -d $fs/$dir ] || mkdir -p $fs/$dir
30 cp -a $install/$path/$module $fs/$dir
31 done
33 for i in $(cat $wanted_stuff/modules-$VERSION.list); do
34 if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then
35 rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i
36 fi
37 done
38 }
40 # Post install/remove commands for Tazpkg.
41 post_install()
42 {
43 chroot "$1/" depmod -a $VERSION-slitaz
44 }
46 post_remove()
47 {
48 chroot "$1/" depmod -a $VERSION-slitaz
49 }