wok-current annotate linux-speakup/receipt @ rev 13102
Add soundtouch.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Jun 26 18:33:47 2012 +0000 (2012-06-26) |
parents | d1768332cee0 |
children | 416fab3c90c0 |
rev | line source |
---|---|
slaxemulator@8681 | 1 # SliTaz package receipt. |
slaxemulator@8681 | 2 |
slaxemulator@8681 | 3 PACKAGE="linux-speakup" |
pankso@12285 | 4 VERSION="3.2.14" |
pankso@12285 | 5 BASEVER="${VERSION:0:3}" |
slaxemulator@8681 | 6 CATEGORY="base-system" |
slaxemulator@8681 | 7 SHORT_DESC="The Linux kernel Speakup modules." |
slaxemulator@8681 | 8 MAINTAINER="erjo@slitaz.org" |
slaxemulator@8681 | 9 DEPENDS="linux" |
slaxemulator@8681 | 10 WANTED="linux" |
slaxemulator@8681 | 11 WEB_SITE="http://www.kernel.org/" |
slaxemulator@8681 | 12 |
slaxemulator@8681 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@8681 | 14 genpkg_rules() |
slaxemulator@8681 | 15 { |
slaxemulator@8681 | 16 local path |
pankso@12285 | 17 path=lib/modules/$BASEVER-slitaz/kernel |
slaxemulator@8681 | 18 mkdir -p $fs/$path |
slaxemulator@8681 | 19 export src |
slaxemulator@8681 | 20 export _pkg |
slaxemulator@9700 | 21 $wanted_stuff/list_modules.sh drivers/staging/speakup | while read module; do |
slaxemulator@8681 | 22 dir=$path/$(dirname $module) |
slaxemulator@8681 | 23 [ -d $fs/$dir ] || mkdir -p $fs/$dir |
slaxemulator@8681 | 24 cp -a $_pkg/$path/$module $fs/$dir |
slaxemulator@8681 | 25 done |
slaxemulator@8681 | 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@8681 | 30 fi |
slaxemulator@8681 | 31 done |
slaxemulator@8681 | 32 } |
slaxemulator@8681 | 33 |
slaxemulator@8681 | 34 # Post install/remove commands for Tazpkg. |
slaxemulator@8681 | 35 post_install() |
slaxemulator@8681 | 36 { |
pankso@12285 | 37 chroot "$1/" depmod -a $BASEVER-slitaz |
slaxemulator@8681 | 38 } |
slaxemulator@8681 | 39 |
slaxemulator@8681 | 40 post_remove() |
slaxemulator@8681 | 41 { |
pankso@12285 | 42 chroot "$1/" depmod -a $BASEVER-slitaz |
slaxemulator@8681 | 43 } |
slaxemulator@8681 | 44 |