wok view linux-input-touchscreen/receipt @ rev 12285

Up: linux (3.2.14) Let play with the kernel :-)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 15 16:27:00 2012 +0200 (2012-04-15)
parents 02b9db771c0a
children 419afb749ac2
line source
1 # SliTaz package receipt.
3 PACKAGE="linux-input-touchscreen"
4 VERSION="3.2.14"
5 BASEVER="${VERSION:0:3}"
6 CATEGORY="base-system"
7 SHORT_DESC="The Linux kernel touchscreen input drivers."
8 MAINTAINER="jozee@slitaz.org"
9 WANTED="linux"
10 WEB_SITE="http://www.kernel.org/"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 local path
16 path=lib/modules/$BASEVER-slitaz/kernel
17 mkdir -p $fs/$path
18 export src
19 export _pkg
20 $wanted_stuff/list_modules.sh drivers/input/touchscreen | \
21 while read module; do
22 dir=$path/$(dirname $module)
23 [ -d $fs/$dir ] || mkdir -p $fs/$dir
24 cp -a $_pkg/$path/$module $fs/$dir
25 done
27 for i in $(cat $wanted_stuff/modules.list); do
28 if [ -f $fs/$path/$i ]; then
29 rm -f $fs/$path/$i
30 fi
31 done
32 }
34 # Post install/remove commands for Tazpkg.
35 post_install()
36 {
37 chroot "$1/" depmod -a $BASEVER-slitaz
38 }
40 post_remove()
41 {
42 chroot "$1/" depmod -a $BASEVER-slitaz
43 }