diff options
author | piernov <piernov@piernov.org> | 2011-07-17 20:24:13 +0200 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2011-07-17 20:24:13 +0200 |
commit | 25e6e94edeffcf9141e5b75477d88e8adb6164e9 (patch) | |
tree | b4e65a377d655a7e68808f597c1ca81fadaf9811 /extra/speech-dispatcher/Pkgfile | |
parent | d9ded187009dff5069b056ab5f80a0668bfc4a35 (diff) | |
download | nutyx-extra-25e6e94edeffcf9141e5b75477d88e8adb6164e9.tar.gz nutyx-extra-25e6e94edeffcf9141e5b75477d88e8adb6164e9.tar.bz2 nutyx-extra-25e6e94edeffcf9141e5b75477d88e8adb6164e9.tar.xz nutyx-extra-25e6e94edeffcf9141e5b75477d88e8adb6164e9.zip |
speech-dispatcher 0.7.1-2 déplacé dans extra
Diffstat (limited to 'extra/speech-dispatcher/Pkgfile')
-rw-r--r-- | extra/speech-dispatcher/Pkgfile | 32 |
1 files changed, 32 insertions, 0 deletions
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 <piernov AT piernov DOT org> +# Maintainer: piernov <piernov AT piernov DOT org> +# 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 +} + |