wok view linux64-video/receipt @ rev 13685

btrfs-progs: do not create 2 snapshots simultaneously...
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 03 11:12:37 2012 +0100 (2012-12-03)
parents
children 416fab3c90c0
line source
1 # SliTaz package receipt.
3 PACKAGE="linux64-video"
4 VERSION="3.2.14"
5 BASEVER="${VERSION:0:3}"
6 CATEGORY="base-system"
7 SHORT_DESC="The Linux kernel video modules."
8 MAINTAINER="devel@slitaz.org"
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/$BASEVER-slitaz/kernel"
16 MODULES="drivers/video/backlight"
18 # Rules to gen a SliTaz package suitable for Tazpkg.
19 genpkg_rules()
20 {
21 _pkg=$_pkg/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 "$1/" depmod -a $BASEVER-slitaz
35 }
37 post_remove()
38 {
39 chroot "$1/" depmod -a $BASEVER-slitaz
40 }