wok-current view linux-wireless/receipt @ rev 521
Linux: split to linux, linux-acpi, linux-ieee1394, linux-sound.
Add: linux-reiserfs, linux-wireless
Fix modules post_install
Add: linux-reiserfs, linux-wireless
Fix modules post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 09 08:49:36 2008 +0000 (2008-04-09) |
parents | |
children | 998d2b306f24 |
line source
1 # SliTaz package receipt.
3 PACKAGE="linux-wireless"
4 VERSION="2.6.24.2"
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/"
11 # Rules to gen a SliTaz package suitable for Tazpkg.
12 genpkg_rules()
13 {
14 local path
15 path=lib/modules/$VERSION-slitaz/kernel
16 mkdir -p $fs/$path
17 while read module; do
18 dir=$path/$(dirname $module)
19 [ -d $fs/$dir ] || mkdir -p $fs/$dir
20 cp -a $_pkg/$path/$module $fs/$dir
21 done < stuff/modules-$VERSION.list
22 }
24 # Post install/remove commands for Tazpkg.
25 post_install()
26 {
27 depmod -a -b "$1/lib/modules/$VERSION-slitaz"
28 }
30 post_remove()
31 {
32 depmod -a
33 }