wok-current view linux64-video/receipt @ rev 14438
Add python-phonenumbers
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 25 12:56:03 2013 +0200 (2013-04-25) |
parents | 419afb749ac2 |
children | ad59999b3fce |
line source
1 # SliTaz package receipt.
3 PACKAGE="linux64-video"
4 VERSION="3.2.40"
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 }