summaryrefslogtreecommitdiff
blob: d48f729282b217f9adc7455f7e42711470b6b388 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/tomoe/tomoe-0.5.1.ebuild,v 1.1 2007/06/01 23:15:57 matsuu Exp $

DESCRIPTION="Japanese handwriting recognition engine"
HOMEPAGE="http://tomoe.sourceforge.jp/"
SRC_URI="mirror://sourceforge.jp/tomoe/23908/${P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="ruby"
#IUSE="hyperestraier mysql ruby subversion"

RDEPEND=">=dev-libs/glib-2.4
	ruby? ( dev-ruby/ruby-glib2 )"
#	hyperestraier? ( app-text/hyperestraier )
#	subversion? ( dev-util/subversion )
#	mysql? ( dev-db/mysql )

DEPEND="${DEPEND}
	dev-util/pkgconfig"

RESTRICT="test"

src_compile() {
	econf $(use_with ruby) || die
	emake || die
}

src_install() {
	emake DESTDIR="${D}" install || die "make install failed"

	dodoc AUTHORS ChangeLog NEWS TODO
}