wok diff linux-cryptoloop/receipt @ rev 12445
Up python-ldap (2.4.9)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 21 18:47:38 2012 +0200 (2012-04-21) |
parents | d1768332cee0 |
children | 829b8ae84e70 |
line diff
1.1 --- a/linux-cryptoloop/receipt Sun May 08 09:01:58 2011 +0000 1.2 +++ b/linux-cryptoloop/receipt Sat Apr 21 18:47:38 2012 +0200 1.3 @@ -1,7 +1,8 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="linux-cryptoloop" 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 cryptoloop modules." 1.12 MAINTAINER="devel@slitaz.org" 1.13 @@ -13,7 +14,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 1.20 export src 1.21 export _pkg 1.22 @@ -28,11 +29,11 @@ 1.23 # Post install/remove commands for Tazpkg. 1.24 post_install() 1.25 { 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 - chroot "$1/" depmod -a $VERSION-slitaz 1.33 + chroot "$1/" depmod -a $BASEVER-slitaz 1.34 } 1.35