wok-4.x annotate 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
rev   line source
paul@4891 1 # SliTaz package receipt.
paul@4891 2
paul@4891 3 PACKAGE="yasr"
paul@4891 4 VERSION="0.6.9"
paul@4891 5 CATEGORY="utilities"
paul@4891 6 SHORT_DESC="General purpose console screen reader."
paul@4891 7 MAINTAINER="paul@slitaz.org"
paul@4912 8 DEPENDS="speech-dispatcher espeak bash"
paul@4891 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@4891 10 WEB_SITE="http://yasr.sourceforge.net/"
paul@4891 11 WGET_URL="http://prdownloads.sourceforge.net/yasr/$TARBALL"
paul@4891 12
paul@4891 13 # Rules to configure and make the package.
paul@4891 14 compile_rules()
paul@4891 15 {
paul@4891 16 cd $src/yasr
paul@4891 17 patch -p0 < ../../stuff/yasr.patch || exit 1
paul@4891 18 cd ../
paul@4891 19 ./configure \
paul@4891 20 --prefix=/usr
paul@4891 21 make && make DESTDIR=$PWD/_pkg install
paul@4891 22 }
paul@4891 23
paul@4891 24 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@4891 25 genpkg_rules()
paul@4891 26 {
paul@4891 27 mkdir -p $fs/usr/share
paul@4891 28 cp -a $_pkg/usr/bin $fs/usr
paul@4891 29 cp -a $_pkg/usr/share/yasr $fs/usr/share
paul@4891 30
paul@4891 31 # enable speech-synthesizer in config file
paul@4891 32 cd $fs/usr/share/yasr
paul@4891 33 sed -i 's/synthesizer=emacspeak/#synthesizer=emacspeak/; \
paul@4891 34 s/#synthesizer=speech/synthesizer=speech/; \
paul@4891 35 s/synthesizer port=|/#synthesizer port=|/; \
paul@4891 36 s/#synthesizer port=127./synthesizer port=127./' yasr.conf
paul@4891 37 }
paul@4891 38