wok view linux-libre-video/receipt @ rev 23634
Up tazlito (524)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 19 12:37:01 2020 +0000 (2020-04-19) |
parents | 9e8d7fd12ee2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="linux-libre-video"
4 VERSION="3.18.129-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.xz
17 drivers/video/backlight/generic_bl.ko.xz"
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 $install/$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 chroot "$1/" depmod -a $VERSION-slitaz
40 }