wok-next view linux-wireless/receipt @ rev 6192
Up: openssl, openssl-dev, libssl, libcrypto, libcrypto-dev to 1.0.0a.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Sep 10 21:40:48 2010 +0000 (2010-09-10) |
parents | 7c6b4a0197db |
children | ce1a465271d9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="linux-wireless"
4 VERSION="2.6.34"
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 | 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
32 }
34 # Post install/remove commands for Tazpkg.
35 post_install()
36 {
37 chroot "$1/" depmod -a $VERSION-slitaz
38 }
40 post_remove()
41 {
42 depmod -a $VERSION-slitaz
43 }