wok-6.x rev 12681
Up linux-nbd, linux-aoe (3.2.14)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 01 18:24:36 2012 +0200 (2012-05-01) |
parents | 7130edf5b24f |
children | fb30867d7f10 |
files | linux-aoe/receipt linux-nbd/receipt |
line diff
1.1 --- a/linux-aoe/receipt Tue May 01 15:32:39 2012 +0200 1.2 +++ b/linux-aoe/receipt Tue May 01 18:24:36 2012 +0200 1.3 @@ -1,10 +1,12 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="linux-aoe" 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 ATA over Ethernet modules." 1.12 MAINTAINER="devel@slitaz.org" 1.13 +DEPENDS="linux" 1.14 WANTED="linux" 1.15 WEB_SITE="http://www.kernel.org/" 1.16 1.17 @@ -12,7 +14,7 @@ 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 export src 1.25 export _pkg 1.26 @@ -27,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
2.1 --- a/linux-nbd/receipt Tue May 01 15:32:39 2012 +0200 2.2 +++ b/linux-nbd/receipt Tue May 01 18:24:36 2012 +0200 2.3 @@ -1,10 +1,12 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="linux-nbd" 2.7 -VERSION="2.6.37" 2.8 +VERSION="3.2.14" 2.9 +BASEVER="${VERSION:0:3}" 2.10 CATEGORY="base-system" 2.11 SHORT_DESC="The Linux kernel network block device modules." 2.12 MAINTAINER="devel@slitaz.org" 2.13 +DEPENDS="linux" 2.14 WANTED="linux" 2.15 WEB_SITE="http://www.kernel.org/" 2.16 2.17 @@ -12,7 +14,7 @@ 2.18 genpkg_rules() 2.19 { 2.20 local path 2.21 - path=lib/modules/$VERSION-slitaz/kernel 2.22 + path=lib/modules/$BASEVER-slitaz/kernel 2.23 mkdir -p $fs/$path 2.24 export src 2.25 export _pkg 2.26 @@ -27,11 +29,11 @@ 2.27 # Post install/remove commands for Tazpkg. 2.28 post_install() 2.29 { 2.30 - chroot "$1/" depmod -a $VERSION-slitaz 2.31 + chroot "$1/" depmod -a $BASEVER-slitaz 2.32 } 2.33 2.34 post_remove() 2.35 { 2.36 - chroot "$1/" depmod -a $VERSION-slitaz 2.37 + chroot "$1/" depmod -a $BASEVER-slitaz 2.38 } 2.39