wok view linux-video/receipt @ rev 7438
Removed linux-iscsi. Changed open-iscsi depend to linux-scsi. No need to 2 packages that same modules in them.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Nov 29 05:33:40 2010 +0000 (2010-11-29) |
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 }