/[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.13 - (hide annotations) (download)
Tue Jan 26 15:55:18 2010 UTC (4 years, 11 months ago) by matsuu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +1 -1 lines
FILE REMOVED
Removed old versions.
(Portage version: 2.1.7.16/cvs/Linux x86_64)

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 matsuu 1.13 # $Header: /var/cvsroot/gentoo-x86/dev-libs/suikyo/suikyo-2.1.0.ebuild,v 1.12 2006/12/05 22:30:49 jer 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 jer 1.12 KEYWORDS="alpha amd64 hppa 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