/[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.4 - (show annotations) (download)
Wed Dec 16 12:31:43 2009 UTC (4 years, 8 months ago) by maekke
Branch: MAIN
Changes since 1.3: +2 -2 lines
amd64 stable, bug #296469
(Portage version: 2.2_rc59/cvs/Linux x86_64)

1 # Copyright 1999-2009 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-r1.ebuild,v 1.3 2009/12/16 12:29:22 maekke Exp $
4
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 KEYWORDS="~alpha amd64 ~hppa ~ppc ppc64 ~sparc x86"
14 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