1
0
forked from ports/contrib

asterisk-espeak: Fixed installation for 64-bit systems

This commit is contained in:
Alan Mizrahi 2014-10-24 18:25:42 +09:00
parent f099b60f02
commit a6403f3b49

View File

@ -5,7 +5,7 @@
name=asterisk-espeak
version=0.4
release=1
release=2
source=(http://prdownloads.sf.net/$name/$name-$version.tar.gz build.patch)
build() {
@ -13,8 +13,9 @@ build() {
patch -p1 -i $SRC/build.patch
export CFLAGS="$CFLAGS -DASTERISK_VERSION=8"
make
mkdir -p $PKG/usr/lib/asterisk/modules $PKG/etc/asterisk
make DESTDIR=$PKG install
install -D -m 755 app_espeak.so /dev/shm/work/asterisk-espeak/pkg/usr/lib/asterisk/modules/app_espeak.so
install -D -m 644 espeak.conf /dev/shm/work/asterisk-espeak/pkg/etc/asterisk/espeak.conf
chown -R root:asterisk $PKG/etc/asterisk
chmod -R u+rwX,g-w,o= $PKG/etc/asterisk
}