wok annotate linux-toshiba/receipt @ rev 24461
updated daloradius (0.9-9 -> 1.1-2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 16 17:15:55 2022 +0100 (2022-02-16) |
parents | 708b5293dd29 |
children |
rev | line source |
---|---|
pankso@5654 | 1 # SliTaz package receipt. |
pankso@5654 | 2 |
pankso@5654 | 3 PACKAGE="linux-toshiba" |
pascal@20261 | 4 VERSION="3.16.55" |
pankso@5654 | 5 CATEGORY="base-system" |
pankso@5654 | 6 SHORT_DESC="The Linux kernel toshiba module." |
pankso@5654 | 7 MAINTAINER="devel@slitaz.org" |
pascal@14657 | 8 LICENSE="GPL2" |
pankso@5654 | 9 DEPENDS="linux" |
pankso@5654 | 10 WANTED="linux" |
pascal@20421 | 11 WEB_SITE="https://www.kernel.org/" |
pankso@5654 | 12 |
pankso@5654 | 13 # Modules paths and list |
pankso@15855 | 14 MOD_PATH="lib/modules/$VERSION-slitaz/kernel" |
pascal@12638 | 15 MODULES="drivers/char/toshiba.ko.xz" |
pankso@5654 | 16 |
pankso@5654 | 17 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5654 | 18 genpkg_rules() |
pankso@5654 | 19 { |
pankso@12285 | 20 mkdir -p ${fs}/${MOD_PATH} |
pankso@5654 | 21 for module in $MODULES |
pankso@5654 | 22 do |
pankso@5654 | 23 dir=$MOD_PATH/$(dirname $module) |
pankso@5654 | 24 [ -d $fs/$dir ] || mkdir -p $fs/$dir |
pascal@15603 | 25 cp -a $install/$MOD_PATH/$module $fs/$dir |
pankso@5654 | 26 done |
pankso@5654 | 27 } |
pankso@5654 | 28 |
pankso@5654 | 29 # Post install/remove commands for Tazpkg. |
pankso@5654 | 30 post_install() |
pankso@5654 | 31 { |
pankso@15855 | 32 chroot "$root/" depmod -a $VERSION-slitaz |
pankso@5654 | 33 } |
pankso@5654 | 34 |
pankso@5654 | 35 post_remove() |
pankso@5654 | 36 { |
pankso@15855 | 37 chroot "$root/" depmod -a $VERSION-slitaz |
pankso@5654 | 38 } |