diff options
Diffstat (limited to 'app-accessibility/eflite/eflite-0.4.1.ebuild')
-rw-r--r-- | app-accessibility/eflite/eflite-0.4.1.ebuild | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/app-accessibility/eflite/eflite-0.4.1.ebuild b/app-accessibility/eflite/eflite-0.4.1.ebuild index 482d8ce23d51..089ad7b56545 100644 --- a/app-accessibility/eflite/eflite-0.4.1.ebuild +++ b/app-accessibility/eflite/eflite-0.4.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/eflite/eflite-0.4.1.ebuild,v 1.3 2009/10/01 20:00:59 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/eflite/eflite-0.4.1.ebuild,v 1.4 2009/10/02 23:37:10 williamh Exp $ EAPI="2" @@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~ppc ~sparc x86" -IUSE="" +IUSE="+16k_voice" DEPEND=">=app-accessibility/flite-1.2" RDEPEND="${DEPEND}" @@ -22,6 +22,14 @@ src_prepare() { sed -i 's:/etc/es.conf:/etc/eflite/es.conf:g' * } +src_configure() { + local myconf + if use 16k_voice; then + myconf='--with-vox=cmu_us_kal16' + fi + econf ${myconf} || die "econf failed." +} + src_install() { einstall || die dodoc ChangeLog README INSTALL eflite_test.txt |