1 |
usata |
1.1 |
# Copyright 1999-2005 Gentoo Foundation |
2 |
|
|
# Distributed under the terms of the GNU General Public License v2 |
3 |
usata |
1.2 |
# $Header: /var/cvsroot/gentoo-x86/app-i18n/prime/prime-0.9.4.1.ebuild,v 1.1 2005/03/30 04:47:29 usata Exp $ |
4 |
usata |
1.1 |
|
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 |
|
|
SLOT="0" |
13 |
|
|
KEYWORDS="~alpha ~ppc ~x86" |
14 |
|
|
IUSE="emacs" |
15 |
|
|
|
16 |
|
|
DEPEND=">=app-dicts/prime-dict-0.8.5 |
17 |
|
|
>=dev-libs/suikyo-2.0.1_alpha2" |
18 |
|
|
RDEPEND="${DEPEND} |
19 |
|
|
dev-ruby/ruby-progressbar |
20 |
|
|
dev-ruby/sary-ruby" |
21 |
|
|
PDEPEND="emacs? ( app-emacs/prime-el )" |
22 |
|
|
|
23 |
|
|
S="${WORKDIR}/${P/_/-}" |
24 |
|
|
|
25 |
|
|
RUBY_ECONF="--with-prime-docdir=/usr/share/doc/${PF}/html |
26 |
|
|
--with-rubydir=/usr/lib/ruby/site_ruby" |
27 |
|
|
|
28 |
|
|
src_compile() { |
29 |
|
|
ruby_src_compile -j1 |
30 |
|
|
} |
31 |
|
|
|
32 |
|
|
src_install() { |
33 |
|
|
make DESTDIR=${D} install install-etc || die |
34 |
|
|
|
35 |
|
|
erubydoc |
36 |
|
|
} |