wok-next diff linux-cpufreq/receipt @ rev 12637
Up lguest (3.2.14)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 29 20:52:23 2012 +0200 (2012-04-29) |
parents | d1768332cee0 |
children | 416fab3c90c0 |
line diff
1.1 --- a/linux-cpufreq/receipt Sun May 08 09:01:58 2011 +0000 1.2 +++ b/linux-cpufreq/receipt Sun Apr 29 20:52:23 2012 +0200 1.3 @@ -1,7 +1,8 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="linux-cpufreq" 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 cpufreq modules." 1.12 MAINTAINER="devel@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 arch/x86/kernel/cpu/cpufreq drivers/cpufreq | \ 1.23 + $wanted_stuff/list_modules.sh drivers/cpufreq | \ 1.24 while read module; do 1.25 dir=$path/$(dirname $module) 1.26 [ -d $fs/$dir ] || mkdir -p $fs/$dir 1.27 @@ -28,11 +29,11 @@ 1.28 # Post install/remove commands for Tazpkg. 1.29 post_install() 1.30 { 1.31 - chroot "$1/" depmod -a $VERSION-slitaz 1.32 + chroot "$1/" depmod -a $BASEVER-slitaz 1.33 } 1.34 1.35 post_remove() 1.36 { 1.37 - chroot "$1/" depmod -a $VERSION-slitaz 1.38 + chroot "$1/" depmod -a $BASEVER-slitaz 1.39 } 1.40