/[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.2 - (hide annotations) (download)
Fri Dec 11 14:43:45 2009 UTC (4 years, 9 months ago) by ranger
Branch: MAIN
Changes since 1.1: +3 -3 lines
Marking suikyo-2.1.0-r1 ppc64 for bug 296469
(Portage version: 2.1.7.1/cvs/Linux ppc64)

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 ranger 1.2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/suikyo/suikyo-2.1.0-r1.ebuild,v 1.1 2007/12/01 16:14:38 matsuu 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 ranger 1.2 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