wok-current diff linux-wireless/receipt @ rev 12328
Up: xfsprogs to 3.1.8.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Apr 19 08:13:31 2012 +0000 (2012-04-19) |
parents | d1768332cee0 |
children | 829b8ae84e70 |
line diff
1.1 --- a/linux-wireless/receipt Sun May 08 09:01:58 2011 +0000 1.2 +++ b/linux-wireless/receipt Thu Apr 19 08:13:31 2012 +0000 1.3 @@ -1,7 +1,8 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="linux-wireless" 1.7 -VERSION="2.6.37" 1.8 +VERSION="3.2.14" 1.9 +BASEVER="${VERSION:0:3}" 1.10 CATEGORY="base-system" 1.11 SHORT_DESC="The Linux kernel wireless modules." 1.12 MAINTAINER="devel@slitaz.org" 1.13 @@ -13,26 +14,26 @@ 1.14 genpkg_rules() 1.15 { 1.16 local path 1.17 - path=lib/modules/$VERSION-slitaz/kernel 1.18 + path=lib/modules/$BASEVER-slitaz/kernel 1.19 mkdir -p $fs/$path 1.20 1.21 export src 1.22 export _pkg 1.23 1.24 $wanted_stuff/list_modules.sh drivers/net/wireless drivers/staging/wlan-ng \ 1.25 - drivers/staging/rt2860 drivers/staging/rt2870 drivers/staging/echo \ 1.26 - drivers/leds net/wireless net/mac80211 drivers/staging/rtl8192e/r8192e_pci.ko.gz \ 1.27 - drivers/staging/rtl8187se/r8187se.ko.gz \ 1.28 - drivers/staging/rtl8192u/r8192u_usb.ko.gz drivers/staging/crystalhd/crystalhd.ko.gz \ 1.29 + drivers/staging/echo drivers/leds net/wireless net/mac80211 \ 1.30 + drivers/staging/rtl8192e/r8192e_pci.ko.gz drivers/staging/rtl8712/r8712u.ko.gz \ 1.31 + drivers/staging/rtl8187se/r8187se.ko.gz drivers/staging/rtl8192u/r8192u_usb.ko.gz \ 1.32 + drivers/staging/crystalhd/crystalhd.ko.gz \ 1.33 drivers/staging/sm7xx/sm7xx.ko.gz | while read module; do 1.34 dir=$path/$(dirname $module) 1.35 [ -d $fs/$dir ] || mkdir -p $fs/$dir 1.36 cp -a $_pkg/$path/$module $fs/$dir 1.37 done 1.38 1.39 - for i in $(cat $wanted_stuff/modules-$VERSION.list); do 1.40 - if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then 1.41 - rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i 1.42 + for i in $(cat $wanted_stuff/modules.list); do 1.43 + if [ -f $fs/$path/$i ]; then 1.44 + rm -f $fs/$path/$i 1.45 fi 1.46 done 1.47 } 1.48 @@ -40,11 +41,11 @@ 1.49 # Post install/remove commands for Tazpkg. 1.50 post_install() 1.51 { 1.52 - chroot "$1/" depmod -a $VERSION-slitaz 1.53 + chroot "$1/" depmod -a $BASEVER-slitaz 1.54 } 1.55 1.56 post_remove() 1.57 { 1.58 - chroot "$1/" depmod -a $VERSION-slitaz 1.59 + chroot "$1/" depmod -a $BASEVER-slitaz 1.60 } 1.61