wok-4.x view yasr/receipt @ rev 6321

Up: iptables to 1.4.9.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Sep 17 15:53:57 2010 +0000 (2010-09-17)
parents 4966a9f6f207
children ad77865a86bf
line source
1 # SliTaz package receipt.
3 PACKAGE="yasr"
4 VERSION="0.6.9"
5 CATEGORY="utilities"
6 SHORT_DESC="General purpose console screen reader."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="speech-dispatcher espeak bash"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://yasr.sourceforge.net/"
11 WGET_URL="http://prdownloads.sourceforge.net/yasr/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src/yasr
17 patch -p0 < ../../stuff/yasr.patch || exit 1
18 cd ../
19 ./configure \
20 --prefix=/usr
21 make && make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/share/yasr $fs/usr/share
31 # enable speech-synthesizer in config file
32 cd $fs/usr/share/yasr
33 sed -i 's/synthesizer=emacspeak/#synthesizer=emacspeak/; \
34 s/#synthesizer=speech/synthesizer=speech/; \
35 s/synthesizer port=|/#synthesizer port=|/; \
36 s/#synthesizer port=127./synthesizer port=127./' yasr.conf
37 }