wok-stable annotate linux-video/receipt @ rev 7610
Up: sqlite to 3.7.4.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Dec 11 14:23:11 2010 +0000 (2010-12-11) |
parents | 5355ffc461cf |
children | 03d4663c81fa |
rev | line source |
---|---|
pascal@886 | 1 # SliTaz package receipt. |
pascal@886 | 2 |
pascal@886 | 3 PACKAGE="linux-video" |
slaxemulator@7131 | 4 VERSION="2.6.36" |
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 |
slaxemulator@6719 | 13 MOD_PATH="lib/modules/$VERSION-slitaz/kernel" |
slaxemulator@7347 | 14 MODULES="drivers/video/backlight/lcd.ko.gz |
pankso@5653 | 15 drivers/video/backlight/generic_bl.ko.gz |
pankso@5653 | 16 drivers/gpio/bt8xxgpio.ko.gz" |
pankso@5653 | 17 |
pascal@886 | 18 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@886 | 19 genpkg_rules() |
pascal@886 | 20 { |
pankso@5653 | 21 mkdir -p ${fs}${MOD_PATH} |
pankso@5653 | 22 for module in $MODULES |
pankso@5653 | 23 do |
pankso@5653 | 24 dir=$MOD_PATH/$(dirname $module) |
pankso@5653 | 25 [ -d $fs/$dir ] || mkdir -p $fs/$dir |
pankso@5653 | 26 cp -a $_pkg/$MOD_PATH/$module $fs/$dir |
pankso@5653 | 27 done |
pascal@886 | 28 } |
pascal@886 | 29 |
pascal@886 | 30 # Post install/remove commands for Tazpkg. |
pascal@886 | 31 post_install() |
pascal@886 | 32 { |
pascal@2990 | 33 chroot "$1/" depmod -a $VERSION-slitaz |
pascal@886 | 34 } |
pascal@886 | 35 |
pascal@886 | 36 post_remove() |
pascal@886 | 37 { |
pascal@886 | 38 depmod -a $VERSION-slitaz |
pascal@886 | 39 } |
pascal@886 | 40 |