wok-6.x diff linux-toshiba/receipt @ rev 12438
ayttm: Add xorg-libXpm-dev to build depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Apr 21 11:50:09 2012 +0000 (2012-04-21) |
parents | 1d89aa1672da |
children | 829b8ae84e70 |
line diff
1.1 --- a/linux-toshiba/receipt Wed Feb 16 20:27:55 2011 +0000 1.2 +++ b/linux-toshiba/receipt Sat Apr 21 11:50:09 2012 +0000 1.3 @@ -1,7 +1,8 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="linux-toshiba" 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 toshiba module." 1.12 MAINTAINER="devel@slitaz.org" 1.13 @@ -10,13 +11,13 @@ 1.14 WEB_SITE="http://www.kernel.org/" 1.15 1.16 # Modules paths and list 1.17 -MOD_PATH="lib/modules/$VERSION-slitaz/kernel" 1.18 +MOD_PATH="lib/modules/$BASEVER-slitaz/kernel" 1.19 MODULES="drivers/char/toshiba.ko.gz" 1.20 1.21 # Rules to gen a SliTaz package suitable for Tazpkg. 1.22 genpkg_rules() 1.23 { 1.24 - mkdir -p ${fs}${MOD_PATH} 1.25 + mkdir -p ${fs}/${MOD_PATH} 1.26 for module in $MODULES 1.27 do 1.28 dir=$MOD_PATH/$(dirname $module) 1.29 @@ -28,10 +29,10 @@ 1.30 # Post install/remove commands for Tazpkg. 1.31 post_install() 1.32 { 1.33 - chroot "$1/" depmod -a $VERSION-slitaz 1.34 + chroot "$1/" depmod -a $BASEVER-slitaz 1.35 } 1.36 1.37 post_remove() 1.38 { 1.39 - chroot "$1/" depmod -a $VERSION-slitaz 1.40 + chroot "$1/" depmod -a $BASEVER-slitaz 1.41 }