wok-6.x diff linux-sched/receipt @ rev 14149

cookutils: up 3.1.3 (with bazaar support)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Mar 04 09:49:43 2013 +0000 (2013-03-04)
parents d1768332cee0
children 416fab3c90c0
line diff
     1.1 --- a/linux-sched/receipt	Sun May 08 09:01:58 2011 +0000
     1.2 +++ b/linux-sched/receipt	Mon Mar 04 09:49:43 2013 +0000
     1.3 @@ -1,7 +1,8 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="linux-sched"
     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 sched modules."
    1.12  MAINTAINER="devel@slitaz.org"
    1.13 @@ -9,12 +10,11 @@
    1.14  WANTED="linux"
    1.15  WEB_SITE="http://www.kernel.org/"
    1.16  
    1.17 -
    1.18  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.19  genpkg_rules()
    1.20  {
    1.21      local path
    1.22 -    path=lib/modules/$VERSION-slitaz/kernel
    1.23 +    path=lib/modules/$BASEVER-slitaz/kernel
    1.24      mkdir -p $fs/$path
    1.25      
    1.26      export src
    1.27 @@ -30,11 +30,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