wok-4.x view linux-wireless/receipt @ rev 8077

Fix: xorg-xf86-video-r128 now depends on mesa-dri-r128
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Jan 22 02:36:20 2011 +0100 (2011-01-22)
parents 5355ffc461cf
children 03d4663c81fa
line source
1 # SliTaz package receipt.
3 PACKAGE="linux-wireless"
4 VERSION="2.6.36"
5 CATEGORY="base-system"
6 SHORT_DESC="The Linux kernel wireless modules."
7 MAINTAINER="devel@slitaz.org"
8 WANTED="linux"
9 WEB_SITE="http://www.kernel.org/"
10 DEPENDS="linux-crypto wireless_tools"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 local path
16 path=lib/modules/$VERSION-slitaz/kernel
17 mkdir -p $fs/$path
19 export src
20 export _pkg
22 $src/slitaz/list_modules.sh drivers/net/wireless drivers/staging/wlan-ng \
23 drivers/staging/rt2860 drivers/staging/rt2870 drivers/staging/echo \
24 drivers/leds net/wireless net/mac80211 drivers/staging/rtl8192e/r8192e_pci.ko.gz \
25 drivers/staging/rtl8192su/r8192s_usb.ko.gz drivers/staging/rtl8187se/r8187se.ko.gz \
26 drivers/staging/rtl8192u/r8192u_usb.ko.gz drivers/staging/crystalhd/crystalhd.ko.gz \
27 drivers/staging/netwave/netwave_cs.ko.gz drivers/staging/sm7xx/sm7xx.ko.gz | while read module; do
28 dir=$path/$(dirname $module)
29 [ -d $fs/$dir ] || mkdir -p $fs/$dir
30 cp -a $_pkg/$path/$module $fs/$dir
31 done
33 for i in $(cat $WOK/$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 depmod -a $VERSION-slitaz
49 }