wok-stable view linux-wireless/receipt @ rev 1851

Add: ndiswrapper-driver, end of split.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Dec 14 10:55:03 2008 +0100 (2008-12-14)
parents bacd5baa9f15
children 9bd092dc96da
line source
1 # SliTaz package receipt.
3 PACKAGE="linux-wireless"
4 VERSION="2.6.25.5"
5 CATEGORY="base-system"
6 SHORT_DESC="The Linux kernel wireless modules."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WANTED="linux"
9 WEB_SITE="http://www.kernel.org/"
10 DEPENDS="linux-crypto"
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 echo "DEBUG"
23 echo "path:$path"
24 echo "src:$src"
25 echo "_pkg:$_pkg"
26 echo "DEBUG"
28 $src/list_modules.sh drivers/net/wireless net/wireless net/ieee80211
30 exit
31 $src/list_modules.sh drivers/net/wireless net/wireless net/ieee80211 | \
32 while read module; do
33 dir=$path/$(dirname $module)
34 [ -d $fs/$dir ] || mkdir -p $fs/$dir
35 cp -a $_pkg/$path/$module $fs/$dir
36 echo "$_pkg/$path/$module $fs/$dir"
37 done
38 }
40 # Post install/remove commands for Tazpkg.
41 post_install()
42 {
43 depmod -a -b "$1/" $VERSION-slitaz
44 }
46 post_remove()
47 {
48 depmod -a $VERSION-slitaz
49 }