/[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.1 - (hide annotations) (download)
Thu Nov 18 15:17:32 2004 UTC (10 years, 7 months ago) by usata
Branch: MAIN
Added CVS snapshot.

1 usata 1.1 # Copyright 1999-2004 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/dev-libs/suikyo/suikyo-1.3.3.ebuild,v 1.3 2004/10/23 10:14:29 usata Exp $
4    
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