wok-next view linux-libre-video/receipt @ rev 18307
busybox-static: add mount -o flags (for /init)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 24 12:30:11 2015 +0200 (2015-08-24) |
parents | ad59999b3fce |
children |
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 }