wok-6.x diff yasr/receipt @ rev 8560
imported patch get/libsmpeg
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Feb 13 22:57:56 2011 +0100 (2011-02-13) |
parents | c708dc566ed4 |
children | 0b4cf0d9e1b5 |
line diff
1.1 --- a/yasr/receipt Sat Feb 13 20:10:25 2010 +0000 1.2 +++ b/yasr/receipt Sun Feb 13 22:57:56 2011 +0100 1.3 @@ -27,12 +27,17 @@ 1.4 mkdir -p $fs/usr/share 1.5 cp -a $_pkg/usr/bin $fs/usr 1.6 cp -a $_pkg/usr/share/yasr $fs/usr/share 1.7 +} 1.8 1.9 - # enable speech-synthesizer in config file 1.10 - cd $fs/usr/share/yasr 1.11 +post_install() 1.12 +{ 1.13 + # Enable speech-synthesizer in config file 1.14 + echo -n "Enabling config file..." 1.15 + cd $1/usr/share/yasr 1.16 sed -i 's/synthesizer=emacspeak/#synthesizer=emacspeak/; \ 1.17 s/#synthesizer=speech/synthesizer=speech/; \ 1.18 s/synthesizer port=|/#synthesizer port=|/; \ 1.19 - s/#synthesizer port=127./synthesizer port=127./' yasr.conf 1.20 + s/#synthesizer port=127./synthesizer port=127./' yasr.conf 1.21 + status 1.22 } 1.23