commit:     c455513b974be658d3a118ff6daeef13498762a0
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Fri May  6 22:20:25 2016 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri May  6 22:24:51 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c455513b

app-accessibility/eflite: revision bump for /sbin/openrc-run migration

Package-Manager: portage-2.2.26
RepoMan-Options: --force

 app-accessibility/eflite/eflite-0.4.1-r3.ebuild | 46 +++++++++++++++++++++++++
 app-accessibility/eflite/files/eflite.rc        |  2 +-
 2 files changed, 47 insertions(+), 1 deletion(-)

diff --git a/app-accessibility/eflite/eflite-0.4.1-r3.ebuild 
b/app-accessibility/eflite/eflite-0.4.1-r3.ebuild
new file mode 100644
index 0000000..dfd1f5d
--- /dev/null
+++ b/app-accessibility/eflite/eflite-0.4.1-r3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+inherit autotools eutils user
+
+DESCRIPTION="A speech server that allows emacspeak and other screen readers to 
interact with festival lite"
+HOMEPAGE="http://eflite.sourceforge.net";
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc ppc64 sparc x86"
+IUSE="+16k_voice"
+
+DEPEND=">=app-accessibility/flite-1.4"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+       sed -i 's:/etc/es.conf:/etc/eflite/es.conf:g' *
+       epatch "${FILESDIR}"/${PN}-0.4.1-flite14.patch
+       eautoreconf
+}
+
+src_configure() {
+       local myconf
+       if use 16k_voice; then
+               myconf='--with-vox=cmu_us_kal16'
+       fi
+       econf ${myconf}
+}
+
+src_install() {
+       einstall
+       dodoc ChangeLog README INSTALL eflite_test.txt
+
+       insinto /etc/eflite
+       doins "${FILESDIR}"/es.conf
+
+       newinitd "${FILESDIR}"/eflite.rc eflite
+}
+
+pkg_postinst() {
+       enewgroup speech
+}

diff --git a/app-accessibility/eflite/files/eflite.rc 
b/app-accessibility/eflite/files/eflite.rc
index ff91540..69854e1 100644
--- a/app-accessibility/eflite/files/eflite.rc
+++ b/app-accessibility/eflite/files/eflite.rc
@@ -1,4 +1,4 @@
-#!/sbin/runscript
+#!/sbin/openrc-run
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$

Reply via email to