wok-next view linux-wireless/receipt @ rev 10065

wipe: Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 05:10:29 2011 +0000 (2011-05-20)
parents ce2e4e5de112
children 6f536abe4f0b
line source
1 # SliTaz package receipt.
3 PACKAGE="linux-wireless"
4 VERSION="2.6.37"
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 $wanted_stuff/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/rtl8187se/r8187se.ko.gz \
26 drivers/staging/rtl8192u/r8192u_usb.ko.gz drivers/staging/crystalhd/crystalhd.ko.gz \
27 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 $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 }