/[gentoo-x86]/app-i18n/prime/prime-1.0.0.1-r2.ebuild
Gentoo

Contents of /app-i18n/prime/prime-1.0.0.1-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Sat Mar 23 09:56:03 2013 UTC (21 months ago) by ago
Branch: MAIN
Changes since 1.5: +2 -2 lines
Stable for ppc64, wrt bug #457238

(Portage version: 2.1.11.52/cvs/Linux ppc64, signed Manifest commit with key 7194459F)

1 ago 1.3 # Copyright 1999-2013 Gentoo Foundation
2 naota 1.1 # Distributed under the terms of the GNU General Public License v2
3 ago 1.6 # $Header: /var/cvsroot/gentoo-x86/app-i18n/prime/prime-1.0.0.1-r2.ebuild,v 1.5 2013/03/22 17:21:39 ago Exp $
4 naota 1.1
5     EAPI="3"
6     # don't work with ruby19
7     # jruby: sary-ruby issue
8     # rbx: sary-ruby issue
9     USE_RUBY="ruby18 ree18"
10     inherit autotools eutils ruby-ng
11    
12     DESCRIPTION="Japanese PRedictive Input Method Editor"
13     HOMEPAGE="http://taiyaki.org/prime/"
14     SRC_URI="http://prime.sourceforge.jp/src/${P/_/-}.tar.gz"
15    
16     LICENSE="GPL-2"
17     SLOT="0"
18 ago 1.6 KEYWORDS="amd64 ~hppa ppc ppc64 x86"
19 naota 1.1 IUSE=""
20    
21     ruby_add_bdepend "virtual/rubygems"
22     ruby_add_rdepend ">=app-dicts/prime-dict-1.0.0
23     >=dev-libs/suikyo-2.1.0
24     dev-ruby/ruby-progressbar
25     dev-ruby/sary-ruby"
26    
27     S="${WORKDIR}/${P/_/-}"
28    
29     all_ruby_prepare() {
30     epatch \
31     "${FILESDIR}/${P}-parallel.patch" \
32     "${FILESDIR}/${P}-libdir.patch" \
33     "${FILESDIR}/${P}-require.patch"
34     # eautoreconf
35     }
36    
37     each_ruby_prepare() {
38     sed -i -e "s:ruby -r:${RUBY} -r:" acinclude.m4 || die
39     sed -i -e "s:ruby -e:${RUBY} -e:" src/Makefile.am || die
40     eautoreconf
41     }
42    
43     each_ruby_configure() {
44     econf \
45     --with-prime-docdir=/usr/share/doc/${PF}/html \
46     --with-rubydir=$(ruby_rbconfig_value 'sitelibdir') || die
47     }
48    
49     each_ruby_compile() {
50     emake || die
51     }
52    
53     each_ruby_install() {
54     emake DESTDIR="${D}" install install-etc || die
55     }
56    
57     all_ruby_install() {
58     dodoc AUTHORS ChangeLog NEWS README TODO || die
59     dohtml -r doc/* || die
60     }

  ViewVC Help
Powered by ViewVC 1.1.20