/[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.8 - (hide annotations) (download)
Fri Sep 6 15:44:27 2013 UTC (15 months, 2 weeks ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Cleanup old.

(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key )

1 nixnut 1.7 # Copyright 1999-2010 Gentoo Foundation
2 matsuu 1.1 # Distributed under the terms of the GNU General Public License v2
3 mrueg 1.8 # $Header: /var/cvsroot/gentoo-x86/dev-libs/suikyo/suikyo-2.1.0-r1.ebuild,v 1.7 2010/01/10 18:46:25 nixnut 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 nixnut 1.7 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