wok-next view linux-libre-wireless/receipt @ rev 16932
Add isync
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 20 11:39:38 2014 +0200 (2014-07-20) |
parents | ad59999b3fce |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="linux-libre-wireless"
4 VERSION="2.6.37-gnu"
5 CATEGORY="base-system"
6 SHORT_DESC="The Linux Libre kernel wireless modules."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="GPL2"
9 PROVIDE="linux-wireless"
10 WANTED="linux-libre"
11 WEB_SITE="http://www.fsfla.org/svnwiki/selibre/linux-libre/"
12 DEPENDS="linux-libre-crypto wireless_tools"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 local path
18 path=lib/modules/$VERSION-slitaz/kernel
19 mkdir -p $fs/$path
21 export src
22 export _pkg
24 $wanted_stuff/list_modules.sh drivers/net/wireless drivers/staging/wlan-ng \
25 drivers/staging/rt2860 drivers/staging/rt2870 drivers/staging/echo \
26 drivers/leds net/wireless net/mac80211 drivers/staging/rtl8192e/r8192e_pci.ko.gz \
27 drivers/staging/rtl8187se/r8187se.ko.gz \
28 drivers/staging/rtl8192u/r8192u_usb.ko.gz drivers/staging/crystalhd/crystalhd.ko.gz \
29 drivers/staging/sm7xx/sm7xx.ko.gz | while read module; do
30 dir=$path/$(dirname $module)
31 [ -d $fs/$dir ] || mkdir -p $fs/$dir
32 cp -a $install/$path/$module $fs/$dir
33 done
35 for i in $(cat $wanted_stuff/modules-$VERSION.list); do
36 if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then
37 rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i
38 fi
39 done
40 }
42 # Post install/remove commands for Tazpkg.
43 post_install()
44 {
45 chroot "$1/" depmod -a $VERSION-slitaz
46 }
48 post_remove()
49 {
50 chroot "$1/" depmod -a $VERSION-slitaz
51 }