wok-6.x annotate linux-video/receipt @ rev 12863
Add httrack.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu May 24 21:11:31 2012 +0000 (2012-05-24) |
parents | 1d89aa1672da |
children | 416fab3c90c0 |
rev | line source |
---|---|
pascal@886 | 1 # SliTaz package receipt. |
pascal@886 | 2 |
pascal@886 | 3 PACKAGE="linux-video" |
pankso@12285 | 4 VERSION="3.2.14" |
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 |