wok-stable view linux-video/receipt @ rev 7610

Up: sqlite to 3.7.4.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Dec 11 14:23:11 2010 +0000 (2010-12-11)
parents 5355ffc461cf
children 03d4663c81fa
line source
1 # SliTaz package receipt.
3 PACKAGE="linux-video"
4 VERSION="2.6.36"
5 CATEGORY="base-system"
6 SHORT_DESC="The Linux kernel video modules."
7 MAINTAINER="devel@slitaz.org"
8 DEPENDS="linux"
9 WANTED="linux"
10 WEB_SITE="http://www.kernel.org/"
12 # Modules paths and list
13 MOD_PATH="lib/modules/$VERSION-slitaz/kernel"
14 MODULES="drivers/video/backlight/lcd.ko.gz
15 drivers/video/backlight/generic_bl.ko.gz
16 drivers/gpio/bt8xxgpio.ko.gz"
18 # Rules to gen a SliTaz package suitable for Tazpkg.
19 genpkg_rules()
20 {
21 mkdir -p ${fs}${MOD_PATH}
22 for module in $MODULES
23 do
24 dir=$MOD_PATH/$(dirname $module)
25 [ -d $fs/$dir ] || mkdir -p $fs/$dir
26 cp -a $_pkg/$MOD_PATH/$module $fs/$dir
27 done
28 }
30 # Post install/remove commands for Tazpkg.
31 post_install()
32 {
33 chroot "$1/" depmod -a $VERSION-slitaz
34 }
36 post_remove()
37 {
38 depmod -a $VERSION-slitaz
39 }