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

Contents of /dev-libs/suikyo/suikyo-1.3.3_p20041117.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Wed Jan 5 09:47:38 2005 UTC (9 years, 11 months ago) by usata
Branch: MAIN
Changes since 1.1: +2 -2 lines
Version bumped.

1 usata 1.2 # Copyright 1999-2005 Gentoo Foundation
2 usata 1.1 # Distributed under the terms of the GNU General Public License v2
3 usata 1.2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/suikyo/suikyo-1.3.3_p20041117.ebuild,v 1.1 2004/11/18 15:17:32 usata Exp $
4 usata 1.1
5     inherit ruby elisp-common
6    
7     DESCRIPTION="Romaji Hiragana conversion library"
8     HOMEPAGE="http://taiyaki.org/suikyo/"
9     #SRC_URI="http://prime.sourceforge.jp/src/${P}.tar.gz"
10     SRC_URI="mirror://gentoo/${P/_p/-}.tar.gz
11     http://dev.gentoo.org/~usata/distfiles/${P/_p/-}.tar.gz"
12    
13     LICENSE="GPL-2"
14     SLOT="0"
15     KEYWORDS="~alpha ~ppc ~x86"
16     IUSE="emacs"
17    
18     RDEPEND="emacs? ( virtual/emacs )"
19     DEPEND="${RDEPEND}
20     sys-devel/autoconf
21     sys-devel/automake"
22    
23     S="${WORKDIR}/${PN}"
24    
25     RUBY_ECONF="--with-suikyo-docdir=/usr/share/doc/${PF}/html
26     --with-rubydir=/usr/lib/ruby/site_ruby"
27    
28     src_compile() {
29     ./autogen.sh
30     ruby_src_compile
31     }
32    
33     src_install() {
34     einstall || die
35     erubydoc
36    
37     use emacs || rm -rf ${D}/usr/share/emacs/
38     use emacs && elisp-site-file-install ${FILESDIR}/50suikyo-gentoo.el
39     }
40    
41     pkg_postinst() {
42     use emacs && elisp-site-regen
43     }
44    
45     pkg_postrm() {
46     use emacs && elisp-site-regen
47     }

  ViewVC Help
Powered by ViewVC 1.1.20