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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Thu Jun 21 17:58:39 2012 UTC (2 years, 4 months ago) by naota
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Patch Kernel::require to require to include rubygem path. #420499

(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

1 matsuu 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 naota 1.2 # $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 $
4 matsuu 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     KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
19     IUSE=""
20    
21     ruby_add_rdepend ">=app-dicts/prime-dict-1.0.0
22     >=dev-libs/suikyo-2.1.0
23     dev-ruby/ruby-progressbar
24     dev-ruby/sary-ruby"
25    
26     S="${WORKDIR}/${P/_/-}"
27    
28     all_ruby_prepare() {
29     epatch \
30     "${FILESDIR}/${P}-parallel.patch" \
31     "${FILESDIR}/${P}-libdir.patch"
32     eautoreconf
33     }
34    
35     each_ruby_configure() {
36     econf \
37     --with-prime-docdir=/usr/share/doc/${PF}/html \
38     --with-rubydir=$(ruby_rbconfig_value 'sitelibdir') || die
39     }
40    
41     each_ruby_compile() {
42     emake || die
43     }
44    
45     each_ruby_install() {
46     emake DESTDIR="${D}" install install-etc || die
47     }
48    
49     all_ruby_install() {
50     dodoc AUTHORS ChangeLog NEWS README TODO || die
51     dohtml -r doc/* || die
52     }

  ViewVC Help
Powered by ViewVC 1.1.20