wok annotate linux-toshiba/receipt @ rev 8143
aufs: aufs_type.h file will be install in aufs instead of linux-module-headers. It needed to be in /usr/include/linux folder anyways.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Jan 25 00:03:50 2011 +0000 (2011-01-25) |
parents | 5355ffc461cf |
children | 1d89aa1672da |
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 { |
pankso@5654 | 36 depmod -a $VERSION-slitaz |
pankso@5654 | 37 } |