# 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.3.8-r2.ebuild,v 1.16 2009/06/21 16:12:36 williamh Exp $ inherit eutils 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="x86 ppc amd64 sparc" IUSE="" RDEPEND=">=app-accessibility/flite-1.2" DEPEND="${RDEPEND} >=sys-devel/autoconf-2.58" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-shared_flite.patch epatch "${FILESDIR}"/${P}-daemon.patch epatch "${FILESDIR}"/${P}-read_pipe.patch sed -i 's:/etc/es.conf:/etc/eflite/es.conf:g' * WANT_AUTOCONF=2.5 autoconf } src_install() { dobin eflite || die dodoc ChangeLog README INSTALL eflite_test.txt insinto /etc/eflite doins "${FILESDIR}"/es.conf newinitd "${FILESDIR}"/eflite.rc eflite } pkg_postinst() { enewgroup speech }