wok-6.x diff linux-video/receipt @ rev 12880
Remove slitaz-fbsplash (broken)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 25 19:46:33 2012 +0200 (2012-05-25) |
parents | 1d89aa1672da |
children | 416fab3c90c0 |
line diff
1.1 --- a/linux-video/receipt Wed Feb 16 20:27:55 2011 +0000 1.2 +++ b/linux-video/receipt Fri May 25 19:46:33 2012 +0200 1.3 @@ -1,7 +1,8 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="linux-video" 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 video modules." 1.12 MAINTAINER="devel@slitaz.org" 1.13 @@ -10,15 +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 -MODULES="drivers/video/backlight/lcd.ko.gz 1.19 -drivers/video/backlight/generic_bl.ko.gz 1.20 -drivers/gpio/bt8xxgpio.ko.gz" 1.21 +MOD_PATH="lib/modules/$BASEVER-slitaz/kernel" 1.22 +MODULES="drivers/video/backlight" 1.23 1.24 # Rules to gen a SliTaz package suitable for Tazpkg. 1.25 genpkg_rules() 1.26 { 1.27 - mkdir -p ${fs}${MOD_PATH} 1.28 + mkdir -p ${fs}/${MOD_PATH} 1.29 for module in $MODULES 1.30 do 1.31 dir=$MOD_PATH/$(dirname $module) 1.32 @@ -30,11 +29,11 @@ 1.33 # Post install/remove commands for Tazpkg. 1.34 post_install() 1.35 { 1.36 - chroot "$1/" depmod -a $VERSION-slitaz 1.37 + chroot "$1/" depmod -a $BASEVER-slitaz 1.38 } 1.39 1.40 post_remove() 1.41 { 1.42 - chroot "$1/" depmod -a $VERSION-slitaz 1.43 + chroot "$1/" depmod -a $BASEVER-slitaz 1.44 } 1.45