blob: f3fee1eecb6bdb8a45a5999db54445fe3fdde60f (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/prime/prime-1.0.0.1-r1.ebuild,v 1.1 2012/01/22 11:06:26 matsuu Exp $
EAPI="3"
# don't work with ruby19
# jruby: sary-ruby issue
# rbx: sary-ruby issue
USE_RUBY="ruby18 ree18"
inherit autotools eutils ruby-ng
DESCRIPTION="Japanese PRedictive Input Method Editor"
HOMEPAGE="http://taiyaki.org/prime/"
SRC_URI="http://prime.sourceforge.jp/src/${P/_/-}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
ruby_add_rdepend ">=app-dicts/prime-dict-1.0.0
>=dev-libs/suikyo-2.1.0
dev-ruby/ruby-progressbar
dev-ruby/sary-ruby"
S="${WORKDIR}/${P/_/-}"
all_ruby_prepare() {
epatch \
"${FILESDIR}/${P}-parallel.patch" \
"${FILESDIR}/${P}-libdir.patch"
eautoreconf
}
each_ruby_configure() {
econf \
--with-prime-docdir=/usr/share/doc/${PF}/html \
--with-rubydir=$(ruby_rbconfig_value 'sitelibdir') || die
}
each_ruby_compile() {
emake || die
}
each_ruby_install() {
emake DESTDIR="${D}" install install-etc || die
}
all_ruby_install() {
dodoc AUTHORS ChangeLog NEWS README TODO || die
dohtml -r doc/* || die
}
|