wok-current annotate linux-input-touchscreen/receipt @ rev 18780
syslinux/isohybrib.exe: check EXE file
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 01 21:39:40 2016 +0100 (2016-01-01) |
parents | db5b03f42dd9 |
children | ffc20f9bd49f |
rev | line source |
---|---|
jozee@3510 | 1 # SliTaz package receipt. |
jozee@3510 | 2 |
jozee@3510 | 3 PACKAGE="linux-input-touchscreen" |
pascal@18296 | 4 VERSION="3.2.71" |
jozee@3510 | 5 CATEGORY="base-system" |
jozee@3510 | 6 SHORT_DESC="The Linux kernel touchscreen input drivers." |
jozee@3510 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@14657 | 8 LICENSE="GPL2" |
jozee@3510 | 9 WANTED="linux" |
pascal@12304 | 10 DEPENDS="linux" |
jozee@3510 | 11 WEB_SITE="http://www.kernel.org/" |
jozee@3510 | 12 |
jozee@3510 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@3510 | 14 genpkg_rules() |
jozee@3510 | 15 { |
jozee@3510 | 16 local path |
pankso@15855 | 17 path=lib/modules/$VERSION-slitaz/kernel |
jozee@3510 | 18 mkdir -p $fs/$path |
pankso@15855 | 19 export src install |
slaxemulator@10855 | 20 $wanted_stuff/list_modules.sh drivers/input/touchscreen | \ |
slaxemulator@10855 | 21 while read module; do |
jozee@3510 | 22 dir=$path/$(dirname $module) |
jozee@3510 | 23 [ -d $fs/$dir ] || mkdir -p $fs/$dir |
pascal@15603 | 24 cp -a $install/$path/$module $fs/$dir |
jozee@3510 | 25 done |
jozee@3510 | 26 |
pankso@12285 | 27 for i in $(cat $wanted_stuff/modules.list); do |
pankso@12285 | 28 if [ -f $fs/$path/$i ]; then |
pankso@12285 | 29 rm -f $fs/$path/$i |
slaxemulator@7239 | 30 fi |
slaxemulator@7239 | 31 done |
jozee@3510 | 32 } |
jozee@3510 | 33 |
jozee@3510 | 34 # Post install/remove commands for Tazpkg. |
jozee@3510 | 35 post_install() |
jozee@3510 | 36 { |
pankso@15855 | 37 chroot "$root/" depmod -a $VERSION-slitaz |
jozee@3510 | 38 } |
jozee@3510 | 39 |
jozee@3510 | 40 post_remove() |
jozee@3510 | 41 { |
pankso@15855 | 42 chroot "$root/" depmod -a $VERSION-slitaz |
jozee@3510 | 43 } |
jozee@3510 | 44 |