wok annotate linux-video/receipt @ rev 18178
mosh: add dropbear support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 04 11:23:16 2015 +0200 (2015-07-04) |
parents | eb689de65d7e |
children | 08cf996a2307 |
rev | line source |
---|---|
pascal@886 | 1 # SliTaz package receipt. |
pascal@886 | 2 |
pascal@886 | 3 PACKAGE="linux-video" |
pascal@15670 | 4 VERSION="3.2.53" |
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@886 | 11 WEB_SITE="http://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 |