wok-6.x view linux-libre-video/receipt @ rev 17149
slitaz-configs-base: fix Slim Root Login.(/rootfs/root/.xinitrc)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Sep 10 16:16:18 2014 +0200 (2014-09-10) |
parents | ad59999b3fce |
children | 9e8d7fd12ee2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="linux-libre-video"
4 VERSION="2.6.37-gnu"
5 CATEGORY="base-system"
6 SHORT_DESC="The Linux Libre kernel video modules."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="GPL2"
9 PROVIDE="linux-video"
10 DEPENDS="linux-libre"
11 WANTED="linux-libre"
12 WEB_SITE="http://www.fsfla.org/svnwiki/selibre/linux-libre/"
14 # Modules paths and list
15 MOD_PATH="lib/modules/$VERSION-slitaz/kernel"
16 MODULES="drivers/video/backlight/lcd.ko.gz
17 drivers/video/backlight/generic_bl.ko.gz
18 drivers/gpio/bt8xxgpio.ko.gz"
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p ${fs}${MOD_PATH}
24 for module in $MODULES
25 do
26 dir=$MOD_PATH/$(dirname $module)
27 [ -d $fs/$dir ] || mkdir -p $fs/$dir
28 cp -a $install/$MOD_PATH/$module $fs/$dir
29 done
30 }
32 # Post install/remove commands for Tazpkg.
33 post_install()
34 {
35 chroot "$1/" depmod -a $VERSION-slitaz
36 }
38 post_remove()
39 {
40 chroot "$1/" depmod -a $VERSION-slitaz
41 }