From 25e6e94edeffcf9141e5b75477d88e8adb6164e9 Mon Sep 17 00:00:00 2001 From: piernov Date: Sun, 17 Jul 2011 20:24:13 +0200 Subject: speech-dispatcher 0.7.1-2 déplacé dans extra MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extra/speech-dispatcher/Pkgfile | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 extra/speech-dispatcher/Pkgfile (limited to 'extra/speech-dispatcher/Pkgfile') diff --git a/extra/speech-dispatcher/Pkgfile b/extra/speech-dispatcher/Pkgfile new file mode 100644 index 000000000..0fabf1da0 --- /dev/null +++ b/extra/speech-dispatcher/Pkgfile @@ -0,0 +1,32 @@ +# Description: Interface simple pour la synthèse vocale. +# URL: http://devel.freebsoft.org/speechd +# Packager: piernov +# Maintainer: piernov +# Depends on: dotconf, glib, python2 +# Depends on: dotconf,glib,python2 + +name=speech-dispatcher +version=0.7.1 +release=2 +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 ${pkgdir}/var/log/speech-dispatcher + + sed -i -e 's|#!/usr/bin/python|#!/usr/bin/python2|' ${pkgdir}/usr/bin/spd-conf + sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' ${pkgdir}/usr/lib/python2.7/site-packages/speechd/_test.py + + rm -f ${pkgdir}/usr/share/info/dir + gzip -9nf ${pkgdir}/usr/share/info/* + rm -r ${pkgdir}/usr/bin/run_test +} + -- cgit v1.2.3-70-g09d2