wok-current view linux-video/receipt @ rev 8294
Up: vlc to 1.1.7.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jan 31 18:17:19 2011 +0000 (2011-01-31) |
parents | 27c14cd11116 |
children | 1d89aa1672da |
line source
1 # SliTaz package receipt.
3 PACKAGE="linux-video"
4 VERSION="2.6.37"
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 }