wok-tiny view module-imm/receipt @ rev 184
boot-man: handle ESC key
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 27 17:13:33 2023 +0000 (13 months ago) |
parents | 1aa08ca3ecaf |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="module-imm"
4 VERSION="2.6.20"
5 CATEGORY="base-system"
6 GROUP="driver,scsi"
7 SHORT_DESC="Kernel module for the Iomega VPI2 SCSI/parallel driver (new 100M+ floppy)"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL"
10 WEB_SITE="http://tiny.slitaz.org/"
11 WANTED="linux"
12 DEPENDS="module-sd-mod"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 local path
18 export src=$WOK/$WANTED/source/linux-$VERSION
19 export _pkg=$WOK/$WANTED/install
20 path=lib/modules/$(ls $_pkg/lib/modules)/kernel
21 mkdir -p $fs/$path
22 $src/slitaz/list_modules.sh drivers/scsi/${PACKAGE#*-}* | while read module; do
23 dir=$path/$(dirname $module)
24 [ -d $fs/$dir ] || mkdir -p $fs/$dir
25 cp -a $_pkg/$path/$module $fs/$dir
26 done
27 }
29 # Post install/remove commands for Tazpkg.
30 post_install()
31 {
32 grep -qs "^${PACKAGE#*-}$" $1/modules ||
33 echo "${PACKAGE#*-}" >> $1/modules
34 }