wok-6.x diff linux-irda/receipt @ rev 12285
Up: linux (3.2.14) Let play with the kernel :-)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 15 16:27:00 2012 +0200 (2012-04-15) |
parents | d1768332cee0 |
children | 419afb749ac2 |
line diff
1.1 --- a/linux-irda/receipt Sun May 08 09:01:58 2011 +0000 1.2 +++ b/linux-irda/receipt Sun Apr 15 16:27:00 2012 +0200 1.3 @@ -1,19 +1,19 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="linux-irda" 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 irda modules." 1.12 MAINTAINER="devel@slitaz.org" 1.13 WANTED="linux" 1.14 WEB_SITE="http://www.kernel.org/" 1.15 1.16 - 1.17 # Rules to gen a SliTaz package suitable for Tazpkg. 1.18 genpkg_rules() 1.19 { 1.20 local path 1.21 - path=lib/modules/$VERSION-slitaz/kernel 1.22 + path=lib/modules/$BASEVER-slitaz/kernel 1.23 mkdir -p $fs/$path 1.24 1.25 export src 1.26 @@ -29,11 +29,11 @@ 1.27 # Post install/remove commands for Tazpkg. 1.28 post_install() 1.29 { 1.30 - chroot "$1/" depmod -a $VERSION-slitaz 1.31 + chroot "$1/" depmod -a $BASEVER-slitaz 1.32 } 1.33 1.34 post_remove() 1.35 { 1.36 - chroot "$1/" depmod -a $VERSION-slitaz 1.37 + chroot "$1/" depmod -a $BASEVER-slitaz 1.38 } 1.39