/[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.5 - (show annotations) (download)
Sat Jul 2 20:33:59 2005 UTC (9 years ago) by kloeri
Branch: MAIN
Changes since 1.4: +2 -2 lines
Stable on alpha.
(Portage version: 2.0.51.22-r1)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/suikyo/suikyo-2.1.0.ebuild,v 1.4 2005/04/30 19:21:34 hansmi Exp $
4
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 KEYWORDS="alpha ~amd64 ppc ~ppc64 x86"
17 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 einstall || die
26 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