wok-6.x annotate linux-video/receipt @ rev 15607

libdvdread: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 06 20:15:24 2013 +0000 (2013-12-06)
parents ad59999b3fce
children eb689de65d7e
rev   line source
pascal@886 1 # SliTaz package receipt.
pascal@886 2
pascal@886 3 PACKAGE="linux-video"
pascal@14175 4 VERSION="3.2.40"
pankso@12285 5 BASEVER="${VERSION:0:3}"
pascal@886 6 CATEGORY="base-system"
pascal@886 7 SHORT_DESC="The Linux kernel video modules."
pankso@3864 8 MAINTAINER="devel@slitaz.org"
pascal@14657 9 LICENSE="GPL2"
pascal@2926 10 DEPENDS="linux"
pascal@886 11 WANTED="linux"
pascal@886 12 WEB_SITE="http://www.kernel.org/"
pascal@886 13
pankso@5653 14 # Modules paths and list
pankso@12285 15 MOD_PATH="lib/modules/$BASEVER-slitaz/kernel"
pankso@12285 16 MODULES="drivers/video/backlight"
pankso@5653 17
pascal@886 18 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@886 19 genpkg_rules()
pascal@886 20 {
pankso@12285 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
pascal@15603 26 cp -a $install/$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 {
pankso@12285 33 chroot "$1/" depmod -a $BASEVER-slitaz
pascal@886 34 }
pascal@886 35
pascal@886 36 post_remove()
pascal@886 37 {
pankso@12285 38 chroot "$1/" depmod -a $BASEVER-slitaz
pascal@886 39 }
pascal@886 40