wok-current annotate linux-video/receipt @ rev 6223

Up: hardinfo to 0.5.1. It only uses languages and os patches now i think.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Sep 11 22:56:32 2010 +0000 (2010-09-11)
parents 63937e3b2979
children 5b6e682d7c62
rev   line source
pascal@886 1 # SliTaz package receipt.
pascal@886 2
pascal@886 3 PACKAGE="linux-video"
pankso@5640 4 VERSION="2.6.34"
pascal@886 5 CATEGORY="base-system"
pascal@886 6 SHORT_DESC="The Linux kernel video modules."
pankso@3864 7 MAINTAINER="devel@slitaz.org"
pascal@2926 8 DEPENDS="linux"
pascal@886 9 WANTED="linux"
pascal@886 10 WEB_SITE="http://www.kernel.org/"
pascal@886 11
pankso@5653 12 # Modules paths and list
pankso@5653 13 MOD_PATH="/lib/modules/$VERSION-slitaz/kernel"
pankso@5653 14 MODULES="drivers/video/output.ko.gz
pankso@5653 15 drivers/video/backlight/lcd.ko.gz
pankso@5653 16 drivers/video/backlight/generic_bl.ko.gz
pankso@5653 17 drivers/gpio/bt8xxgpio.ko.gz"
pankso@5653 18
pascal@886 19 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@886 20 genpkg_rules()
pascal@886 21 {
pankso@5653 22 mkdir -p ${fs}${MOD_PATH}
pankso@5653 23 for module in $MODULES
pankso@5653 24 do
pankso@5653 25 dir=$MOD_PATH/$(dirname $module)
pankso@5653 26 [ -d $fs/$dir ] || mkdir -p $fs/$dir
pankso@5653 27 cp -a $_pkg/$MOD_PATH/$module $fs/$dir
pankso@5653 28 done
pascal@886 29 }
pascal@886 30
pascal@886 31 # Post install/remove commands for Tazpkg.
pascal@886 32 post_install()
pascal@886 33 {
pascal@2990 34 chroot "$1/" depmod -a $VERSION-slitaz
pascal@886 35 }
pascal@886 36
pascal@886 37 post_remove()
pascal@886 38 {
pascal@886 39 depmod -a $VERSION-slitaz
pascal@886 40 }
pascal@886 41