ports/contrib (3.1): asterisk-espeak: Fixed installation for 64-bit systems
commit a6403f3b49fe406e3a5d9186a34123ec837aa057 Author: Alan Mizrahi <alan+crux@mizrahi.com.ve> Date: Fri Oct 24 18:25:42 2014 +0900 asterisk-espeak: Fixed installation for 64-bit systems diff --git a/asterisk-espeak/Pkgfile b/asterisk-espeak/Pkgfile index 880bf18..7f53857 100644 --- a/asterisk-espeak/Pkgfile +++ b/asterisk-espeak/Pkgfile @@ -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 }
participants (1)
-
crux@crux.nu