wok-stable annotate linux-toshiba/receipt @ rev 11662
Up firefox (10.0.1, security fix)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 13 09:56:04 2012 +0100 (2012-02-13) |
parents | 03d4663c81fa |
children |
rev | line source |
---|---|
pankso@5654 | 1 # SliTaz package receipt. |
pankso@5654 | 2 |
pankso@5654 | 3 PACKAGE="linux-toshiba" |
slaxemulator@8085 | 4 VERSION="2.6.37" |
pankso@5654 | 5 CATEGORY="base-system" |
pankso@5654 | 6 SHORT_DESC="The Linux kernel toshiba module." |
pankso@5654 | 7 MAINTAINER="devel@slitaz.org" |
pankso@5654 | 8 DEPENDS="linux" |
pankso@5654 | 9 WANTED="linux" |
pankso@5654 | 10 WEB_SITE="http://www.kernel.org/" |
pankso@5654 | 11 |
pankso@5654 | 12 # Modules paths and list |
slaxemulator@6719 | 13 MOD_PATH="lib/modules/$VERSION-slitaz/kernel" |
pankso@5654 | 14 MODULES="drivers/char/toshiba.ko.gz" |
pankso@5654 | 15 |
pankso@5654 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5654 | 17 genpkg_rules() |
pankso@5654 | 18 { |
pankso@5654 | 19 mkdir -p ${fs}${MOD_PATH} |
pankso@5654 | 20 for module in $MODULES |
pankso@5654 | 21 do |
pankso@5654 | 22 dir=$MOD_PATH/$(dirname $module) |
pankso@5654 | 23 [ -d $fs/$dir ] || mkdir -p $fs/$dir |
pankso@5654 | 24 cp -a $_pkg/$MOD_PATH/$module $fs/$dir |
pankso@5654 | 25 done |
pankso@5654 | 26 } |
pankso@5654 | 27 |
pankso@5654 | 28 # Post install/remove commands for Tazpkg. |
pankso@5654 | 29 post_install() |
pankso@5654 | 30 { |
pankso@5654 | 31 chroot "$1/" depmod -a $VERSION-slitaz |
pankso@5654 | 32 } |
pankso@5654 | 33 |
pankso@5654 | 34 post_remove() |
pankso@5654 | 35 { |
slaxemulator@8681 | 36 chroot "$1/" depmod -a $VERSION-slitaz |
pankso@5654 | 37 } |