wok-current view linux64-video/receipt @ rev 16329
ARM: add xorg-xprop - Used in the new SliTaz Tiny/Touch Screen (sts) desktop
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 10 19:50:37 2014 +0200 (2014-04-10) |
parents | eb689de65d7e |
children | 962f1c89c58a |
line source
1 # SliTaz package receipt.
3 PACKAGE="linux64-video"
4 VERSION="3.2.53"
5 CATEGORY="base-system"
6 SHORT_DESC="The Linux kernel video modules."
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 DEPENDS="linux64"
10 WANTED="linux"
11 PROVIDE="linux-video"
12 WEB_SITE="http://www.kernel.org/"
14 # Modules paths and list
15 MOD_PATH="lib/modules/$VERSION-slitaz/kernel"
16 MODULES="drivers/video/backlight"
18 # Rules to gen a SliTaz package suitable for Tazpkg.
19 genpkg_rules()
20 {
21 _pkg=$install/linux64
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 "$root/" depmod -a $VERSION-slitaz
35 }
37 post_remove()
38 {
39 chroot "$root/" depmod -a $VERSION-slitaz
40 }