/[gentoo-x86]/dev-libs/suikyo/suikyo-2.1.0.ebuild
Gentoo

Contents of /dev-libs/suikyo/suikyo-2.1.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (hide annotations) (download)
Tue Oct 31 04:08:37 2006 UTC (7 years, 10 months ago) by weeve
Branch: MAIN
Changes since 1.9: +2 -2 lines
Added ~sparc keyword wrt bug #152265.
(Portage version: 2.1.2_rc1-r1)

1 matsuu 1.9 # Copyright 1999-2006 Gentoo Foundation
2 usata 1.1 # Distributed under the terms of the GNU General Public License v2
3 weeve 1.10 # $Header: /var/cvsroot/gentoo-x86/dev-libs/suikyo/suikyo-2.1.0.ebuild,v 1.9 2006/08/09 10:50:48 matsuu Exp $
4 usata 1.1
5     inherit ruby elisp-common
6    
7     MY_P=${P/_/-}
8     S=${WORKDIR}/${MY_P}
9    
10     DESCRIPTION="Romaji Hiragana conversion library"
11     HOMEPAGE="http://taiyaki.org/suikyo/"
12     SRC_URI="http://prime.sourceforge.jp/src/${MY_P}.tar.gz"
13    
14     LICENSE="GPL-2"
15     SLOT="0"
16 weeve 1.10 KEYWORDS="alpha amd64 ppc ppc64 ~sparc x86"
17 usata 1.1 IUSE="emacs"
18    
19     DEPEND="emacs? ( virtual/emacs )"
20    
21     RUBY_ECONF="--with-suikyo-docdir=/usr/share/doc/${PF}/html
22     --with-rubydir=/usr/lib/ruby/site_ruby"
23    
24     src_install() {
25 matsuu 1.8 make DESTDIR="${D}" install || die
26 usata 1.1 erubydoc
27    
28     use emacs || rm -rf ${D}/usr/share/emacs/
29     use emacs && elisp-site-file-install ${FILESDIR}/50suikyo-gentoo.el
30     }
31    
32     pkg_postinst() {
33     use emacs && elisp-site-regen
34     }
35    
36     pkg_postrm() {
37     use emacs && elisp-site-regen
38     }

  ViewVC Help
Powered by ViewVC 1.1.20