wok-6.x view linux-video/receipt @ rev 7213
Up: dbus-glib to 0.92.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Nov 10 17:42:01 2010 +0000 (2010-11-10) |
parents | 5b6e682d7c62 |
children | 27c14cd11116 |
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/output.ko.gz
15 drivers/video/backlight/lcd.ko.gz
16 drivers/video/backlight/generic_bl.ko.gz
17 drivers/gpio/bt8xxgpio.ko.gz"
19 # Rules to gen a SliTaz package suitable for Tazpkg.
20 genpkg_rules()
21 {
22 mkdir -p ${fs}${MOD_PATH}
23 for module in $MODULES
24 do
25 dir=$MOD_PATH/$(dirname $module)
26 [ -d $fs/$dir ] || mkdir -p $fs/$dir
27 cp -a $_pkg/$MOD_PATH/$module $fs/$dir
28 done
29 }
31 # Post install/remove commands for Tazpkg.
32 post_install()
33 {
34 chroot "$1/" depmod -a $VERSION-slitaz
35 }
37 post_remove()
38 {
39 depmod -a $VERSION-slitaz
40 }