blob: 0570aece90c776ad1945baab59917885cc73ab8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Description: Interface simple pour la synthèse vocale.
# URL: http://devel.freebsoft.org/speechd
# Packager: piernov <piernov AT piernov DOT org>
# Maintainer: piernov <piernov AT piernov DOT org>
# Depends on: dotconf
# Run on: dotconf
name=speech-dispatcher
version=0.7.1
release=4
source=( http://devel.freebsoft.org/pub/projects/speechd/$name-$version.tar.gz speechd.rc )
build ()
{
cd $name-$version
PYTHON=python2 ./configure --prefix=/usr \
--sysconfdir=/etc \
--without-flite
make
make DESTDIR=$PKG install
install -Dm755 $SRC/speechd.rc $PKG/etc/rc.d/init.d/speechd
install -d $PKG/var/log/speech-dispatcher
sed -i -e 's|#!/usr/bin/python|#!/usr/bin/python2|' $PKG/usr/bin/spd-conf
sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' $PKG/usr/lib/python2.7/site-packages/speechd/_test.py
rm -f $PKG/usr/share/info/dir
gzip -9nf $PKG/usr/share/info/*
mv $PKG/usr/bin/run_test $PKG/usr/bin/spd-run_test
}
|