wok diff linux-nbd/receipt @ rev 12823
glibc-base: improve ARM package
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 22 10:22:47 2012 +0200 (2012-05-22) |
parents | 829b8ae84e70 |
children | 7edeb97ee36c |
line diff
1.1 --- a/linux-nbd/receipt Sun Apr 29 21:04:40 2012 +0200 1.2 +++ b/linux-nbd/receipt Tue May 22 10:22:47 2012 +0200 1.3 @@ -1,10 +1,12 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="linux-nbd" 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 network block device 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