wok view linux-video/receipt @ rev 9641
Fixed rhino, ecj, and xalan-xerces-j depends. Putting java-jre for depends was a bad idea since these packages are build depends for icedtea6-jdk. java-jre is a wanted package for icetea6-jdk. This was causing a depend loop.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Apr 27 16:22:35 2011 +0000 (2011-04-27) |
parents | 03d4663c81fa |
children | 6f536abe4f0b |
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 }