wok diff linux-dialup/receipt @ rev 12419
Up: pidgin to 2.10.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Apr 21 09:18:59 2012 +0000 (2012-04-21) |
parents | d1768332cee0 |
children | 829b8ae84e70 |
line diff
1.1 --- a/linux-dialup/receipt Sun May 08 09:01:58 2011 +0000 1.2 +++ b/linux-dialup/receipt Sat Apr 21 09:18:59 2012 +0000 1.3 @@ -1,7 +1,8 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="linux-dialup" 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 dial-up modules." 1.12 MAINTAINER="domcox@slitaz.org" 1.13 @@ -13,11 +14,11 @@ 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 export src 1.21 export _pkg 1.22 - $wanted_stuff/list_modules.sh drivers/serial/serial_cs.ko.gz drivers/char/nozomi.ko.gz \ 1.23 + $wanted_stuff/list_modules.sh drivers/tty/serial/serial_cs.ko.gz \ 1.24 drivers/usb/serial/option.ko.gz drivers/net/usb/hso.ko.gz | \ 1.25 while read module; do 1.26 dir=$path/$(dirname $module) 1.27 @@ -25,9 +26,9 @@ 1.28 cp -a $_pkg/$path/$module $fs/$dir 1.29 done 1.30 1.31 - for i in $(cat $wanted_stuff/modules-$VERSION.list); do 1.32 - if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then 1.33 - rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i 1.34 + for i in $(cat $wanted_stuff/modules.list); do 1.35 + if [ -f $fs/$path/$i ]; then 1.36 + rm -f $fs/$path/$i 1.37 fi 1.38 done 1.39 } 1.40 @@ -35,11 +36,11 @@ 1.41 # Post install/remove commands for Tazpkg. 1.42 post_install() 1.43 { 1.44 - chroot "$1/" depmod -a $VERSION-slitaz 1.45 + chroot "$1/" depmod -a $BASEVER-slitaz 1.46 } 1.47 1.48 post_remove() 1.49 { 1.50 - chroot "$1/" depmod -a $VERSION-slitaz 1.51 + chroot "$1/" depmod -a $BASEVER-slitaz 1.52 } 1.53