wok-next annotate linux-input-touchscreen/receipt @ rev 7154

Fixed virtualbox-ose to depend -a when installed. Also fixed 60-vboxguest.rules to not error if 'tazpkg reconfigure udev' is done.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Nov 06 19:43:56 2010 +0000 (2010-11-06)
parents 63937e3b2979
children 7b2d17996a15
rev   line source
jozee@3510 1 # SliTaz package receipt.
jozee@3510 2
jozee@3510 3 PACKAGE="linux-input-touchscreen"
slaxemulator@7131 4 VERSION="2.6.36"
jozee@3510 5 CATEGORY="base-system"
jozee@3510 6 SHORT_DESC="The Linux kernel touchscreen input drivers."
jozee@3510 7 MAINTAINER="jozee@slitaz.org"
jozee@3510 8 WANTED="linux"
jozee@3510 9 WEB_SITE="http://www.kernel.org/"
jozee@3510 10
jozee@3510 11 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@3510 12 genpkg_rules()
jozee@3510 13 {
jozee@3510 14 local path
jozee@3510 15 path=lib/modules/$VERSION-slitaz/kernel
jozee@3510 16 mkdir -p $fs/$path
jozee@3510 17 export src
jozee@3510 18 export _pkg
pascal@3920 19 $src/slitaz/list_modules.sh drivers/input/touchscreen \
jozee@3510 20 lib/ts_bm.ko.gz lib/ts_fsm.ko.gz lib/ts_kmp.ko.gz | while read module; do
jozee@3510 21 dir=$path/$(dirname $module)
jozee@3510 22 [ -d $fs/$dir ] || mkdir -p $fs/$dir
jozee@3510 23 cp -a $_pkg/$path/$module $fs/$dir
jozee@3510 24 done
jozee@3510 25
jozee@3510 26 }
jozee@3510 27
jozee@3510 28 # Post install/remove commands for Tazpkg.
jozee@3510 29 post_install()
jozee@3510 30 {
jozee@3510 31 chroot "$1/" depmod -a $VERSION-slitaz
jozee@3510 32 }
jozee@3510 33
jozee@3510 34 post_remove()
jozee@3510 35 {
jozee@3510 36 depmod -a $VERSION-slitaz
jozee@3510 37 }
jozee@3510 38