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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Thu Dec 17 17:51:31 2009 UTC (4 years, 11 months ago) by jer
Branch: MAIN
Changes since 1.4: +2 -2 lines
Stable for HPPA (bug #296469).
(Portage version: 2.2_rc59/cvs/Linux i686)

1 ranger 1.2 # Copyright 1999-2009 Gentoo Foundation
2 matsuu 1.1 # Distributed under the terms of the GNU General Public License v2
3 jer 1.5 # $Header: /var/cvsroot/gentoo-x86/dev-libs/suikyo/suikyo-2.1.0-r1.ebuild,v 1.4 2009/12/16 12:31:43 maekke Exp $
4 matsuu 1.1
5     inherit elisp-common eutils multilib ruby
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    
11     LICENSE="GPL-2"
12     SLOT="0"
13 jer 1.5 KEYWORDS="~alpha amd64 hppa ~ppc ppc64 ~sparc x86"
14 matsuu 1.1 IUSE="emacs"
15    
16     DEPEND="emacs? ( virtual/emacs )"
17    
18     RUBY_ECONF="--with-suikyo-docdir=/usr/share/doc/${PF}/html
19     --with-rubydir=/usr/$(get_libdir)/ruby/site_ruby"
20    
21     SITEFILE=50${PN}-gentoo.el
22    
23     src_unpack() {
24     unpack ${A}
25     cd "${S}"
26     epatch "${FILESDIR}"/${P}-pkgconfig.patch
27     }
28    
29     src_install() {
30     emake DESTDIR="${D}" install || die
31     erubydoc
32    
33     if use emacs ; then
34     elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
35     else
36     rm -rf "${D}"/usr/share/emacs/
37     fi
38     }
39    
40     pkg_postinst() {
41     use emacs && elisp-site-regen
42     }
43    
44     pkg_postrm() {
45     use emacs && elisp-site-regen
46     }

  ViewVC Help
Powered by ViewVC 1.1.20