wok-6.x diff linux-cifs/receipt @ rev 13126

liblrdf: Add patches to support raptor 2.0.x and clean up.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Jul 04 22:13:34 2012 +0000 (2012-07-04)
parents d1768332cee0
children 416fab3c90c0
line diff
     1.1 --- a/linux-cifs/receipt	Sun May 08 09:01:58 2011 +0000
     1.2 +++ b/linux-cifs/receipt	Wed Jul 04 22:13:34 2012 +0000
     1.3 @@ -1,7 +1,8 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="linux-cifs"
     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 cifs module."
    1.12  MAINTAINER="devel@slitaz.org"
    1.13 @@ -14,7 +15,7 @@
    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 $fs/etc
    1.20      export src
    1.21      export _pkg
    1.22 @@ -31,12 +32,12 @@
    1.23  {
    1.24  	grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
    1.25  		echo "${PACKAGE#*-}" >> $1/etc/filesystems
    1.26 -	chroot "$1/" depmod -a $VERSION-slitaz
    1.27 +	chroot "$1/" depmod -a $BASEVER-slitaz
    1.28  }
    1.29  
    1.30  post_remove()
    1.31  {
    1.32  	sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems
    1.33 -	chroot "$1/" depmod -a $VERSION-slitaz
    1.34 +	chroot "$1/" depmod -a $BASEVER-slitaz
    1.35  }
    1.36