summaryrefslogtreecommitdiff
blob: bce71a9f502b7d83223d5adee3fe2e691cb2bde8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/emacspeak-ss/emacspeak-ss-1.9.1.ebuild,v 1.13 2009/11/01 18:47:50 eva Exp $

inherit eutils

DESCRIPTION="adds support for several speech synthesizers to emacspeak"
HOMEPAGE="http://leb.net/blinux/"
SRC_URI="http://leb.net/pub/blinux/emacspeak/blinux/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc"
IUSE=""

DEPEND=""
RDEPEND=">=app-accessibility/emacspeak-18"

src_unpack() {
	unpack ${A}
	epatch "${FILESDIR}"/gentoo-apollo-fix.patch
}

src_compile() {
	econf || die "Econf failed"
	emake CC=$(tc-getCC) || die "emake failed"
}

src_install() {
	make \
		prefix="${D}"/usr \
		man1dir="${D}"/usr/share/man/man1 \
		install || die
	dodoc CREDITS ChangeLog OtherSynthesizers TODO
	dodoc TROUBLESHOOTING README*
}