wok annotate linux-video/receipt @ rev 14484
gst-python: update deps+bdeps
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu May 02 22:48:39 2013 +0200 (2013-05-02) |
parents | 6f536abe4f0b |
children | ad59999b3fce |
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@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@12285 | 14 MOD_PATH="lib/modules/$BASEVER-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 |
pankso@5653 | 25 cp -a $_pkg/$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@12285 | 32 chroot "$1/" depmod -a $BASEVER-slitaz |
pascal@886 | 33 } |
pascal@886 | 34 |
pascal@886 | 35 post_remove() |
pascal@886 | 36 { |
pankso@12285 | 37 chroot "$1/" depmod -a $BASEVER-slitaz |
pascal@886 | 38 } |
pascal@886 | 39 |