wok-stable view linux-video/receipt @ rev 10353

gcc: Removed gawk in build depends. Added check like the one glibc has to install if cook script is found. Fixed tazwok cookorder i hope.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun May 22 16:40:19 2011 +0000 (2011-05-22)
parents 03d4663c81fa
children
line source
1 # SliTaz package receipt.
3 PACKAGE="linux-video"
4 VERSION="2.6.37"
5 CATEGORY="base-system"
6 SHORT_DESC="The Linux kernel video modules."
7 MAINTAINER="devel@slitaz.org"
8 DEPENDS="linux"
9 WANTED="linux"
10 WEB_SITE="http://www.kernel.org/"
12 # Modules paths and list
13 MOD_PATH="lib/modules/$VERSION-slitaz/kernel"
14 MODULES="drivers/video/backlight/lcd.ko.gz
15 drivers/video/backlight/generic_bl.ko.gz
16 drivers/gpio/bt8xxgpio.ko.gz"
18 # Rules to gen a SliTaz package suitable for Tazpkg.
19 genpkg_rules()
20 {
21 mkdir -p ${fs}${MOD_PATH}
22 for module in $MODULES
23 do
24 dir=$MOD_PATH/$(dirname $module)
25 [ -d $fs/$dir ] || mkdir -p $fs/$dir
26 cp -a $_pkg/$MOD_PATH/$module $fs/$dir
27 done
28 }
30 # Post install/remove commands for Tazpkg.
31 post_install()
32 {
33 chroot "$1/" depmod -a $VERSION-slitaz
34 }
36 post_remove()
37 {
38 chroot "$1/" depmod -a $VERSION-slitaz
39 }