wok annotate linux-video/receipt @ rev 23547

updated python-pytest (2.3.4 -> 4.6.9)
author Hans-G?nter Theisgen
date Mon Apr 06 17:51:13 2020 +0100 (2020-04-06)
parents 708b5293dd29
children
rev   line source
pascal@886 1 # SliTaz package receipt.
pascal@886 2
pascal@886 3 PACKAGE="linux-video"
pascal@20261 4 VERSION="3.16.55"
pascal@886 5 CATEGORY="base-system"
pascal@886 6 SHORT_DESC="The Linux kernel video modules."
pankso@3864 7 MAINTAINER="devel@slitaz.org"
pascal@14657 8 LICENSE="GPL2"
pascal@2926 9 DEPENDS="linux"
pascal@886 10 WANTED="linux"
pascal@20421 11 WEB_SITE="https://www.kernel.org/"
pascal@886 12
pankso@5653 13 # Modules paths and list
pankso@15855 14 MOD_PATH="lib/modules/$VERSION-slitaz/kernel"
pankso@12285 15 MODULES="drivers/video/backlight"
pankso@5653 16
pascal@886 17 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@886 18 genpkg_rules()
pascal@886 19 {
pankso@12285 20 mkdir -p ${fs}/${MOD_PATH}
pankso@5653 21 for module in $MODULES
pankso@5653 22 do
pankso@5653 23 dir=$MOD_PATH/$(dirname $module)
pankso@5653 24 [ -d $fs/$dir ] || mkdir -p $fs/$dir
pascal@15603 25 cp -a $install/$MOD_PATH/$module $fs/$dir
pankso@5653 26 done
pascal@886 27 }
pascal@886 28
pascal@886 29 # Post install/remove commands for Tazpkg.
pascal@886 30 post_install()
pascal@886 31 {
pankso@15855 32 chroot "$root/" depmod -a $VERSION-slitaz
pascal@886 33 }
pascal@886 34
pascal@886 35 post_remove()
pascal@886 36 {
pankso@15855 37 chroot "$root/" depmod -a $VERSION-slitaz
pascal@886 38 }
pascal@886 39