blob: 7f53857f49d575afdee7807d32b6de0f3cc634e3 (
plain)
1 # Description: Asterisk text to speech module
2 # URL: http://asterisk-espeak.sf.net/
3 # Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
4 # Depends on: asterisk espeak libsndfile libsamplerate
5
6 name=asterisk-espeak
7 version=0.4
8 release=2
9 source=(http://prdownloads.sf.net/$name/$name-$version.tar.gz build.patch)
10
11 build() {
12 cd $name-$version
13 patch -p1 -i $SRC/build.patch
14 export CFLAGS="$CFLAGS -DASTERISK_VERSION=8"
15 make
16
17 install -D -m 755 app_espeak.so /dev/shm/work/asterisk-espeak/pkg/usr/lib/asterisk/modules/app_espeak.so
18 install -D -m 644 espeak.conf /dev/shm/work/asterisk-espeak/pkg/etc/asterisk/espeak.conf
19 chown -R root:asterisk $PKG/etc/asterisk
20 chmod -R u+rwX,g-w,o= $PKG/etc/asterisk
21 }
|