1 |
# Copyright 1999-2004 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-i18n/prime/prime-0.9.2.ebuild,v 1.5 2004/11/30 06:46:16 usata Exp $ |
4 |
|
5 |
inherit ruby |
6 |
|
7 |
DESCRIPTION="Japanese PRedictive Input Method Editor" |
8 |
HOMEPAGE="http://taiyaki.org/prime/" |
9 |
SRC_URI="http://prime.sourceforge.jp/src/${P/_/-}.tar.gz" |
10 |
|
11 |
LICENSE="GPL-2" |
12 |
# 0.8.X -> stable, 0.9.Y -> development; dictionary format may change |
13 |
# between releases in development branch, so please use it with care |
14 |
SLOT="0" |
15 |
KEYWORDS="~alpha ~ppc ~x86" |
16 |
IUSE="emacs" |
17 |
|
18 |
DEPEND="virtual/ruby |
19 |
app-dicts/prime-dict |
20 |
>=dev-libs/suikyo-1.3.0 |
21 |
dev-ruby/ruby-progressbar" |
22 |
PDEPEND="emacs? ( app-emacs/prime-el )" |
23 |
|
24 |
S="${WORKDIR}/${P/_/-}" |
25 |
|
26 |
RUBY_ECONF="--with-prime-docdir=/usr/share/doc/${PF}/html |
27 |
--with-rubydir=/usr/lib/ruby/site_ruby" |
28 |
|
29 |
src_compile() { |
30 |
ruby_src_compile -j1 |
31 |
} |
32 |
|
33 |
src_install() { |
34 |
make DESTDIR=${D} install install-etc || die |
35 |
|
36 |
erubydoc |
37 |
} |