summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2007-12-01 16:14:38 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2007-12-01 16:14:38 +0000
commite4f6a95f97d4c6dfbdc271eb9740d63bd40a37c9 (patch)
treeb84c2c583ee1d91b90b0f1157a551b353dab4fff /dev-libs/suikyo
parentUse SITEETC eclass variable. (diff)
downloadgentoo-2-e4f6a95f97d4c6dfbdc271eb9740d63bd40a37c9.tar.gz
gentoo-2-e4f6a95f97d4c6dfbdc271eb9740d63bd40a37c9.tar.bz2
gentoo-2-e4f6a95f97d4c6dfbdc271eb9740d63bd40a37c9.zip
Fixed bug 200420.
(Portage version: 2.1.3.19)
Diffstat (limited to 'dev-libs/suikyo')
-rw-r--r--dev-libs/suikyo/ChangeLog11
-rw-r--r--dev-libs/suikyo/files/digest-suikyo-2.1.0-r13
-rw-r--r--dev-libs/suikyo/files/suikyo-2.1.0-pkgconfig.patch11
-rw-r--r--dev-libs/suikyo/suikyo-2.1.0-r1.ebuild46
4 files changed, 69 insertions, 2 deletions
diff --git a/dev-libs/suikyo/ChangeLog b/dev-libs/suikyo/ChangeLog
index c13030843da2..5a1cfba3a035 100644
--- a/dev-libs/suikyo/ChangeLog
+++ b/dev-libs/suikyo/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/suikyo
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/suikyo/ChangeLog,v 1.33 2006/12/05 22:30:49 jer Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/suikyo/ChangeLog,v 1.34 2007/12/01 16:14:38 matsuu Exp $
+
+*suikyo-2.1.0-r1 (01 Dec 2007)
+
+ 01 Dec 2007; <matsuu@gentoo.org> +files/suikyo-2.1.0-pkgconfig.patch,
+ +suikyo-2.1.0-r1.ebuild:
+ Fixed suikyo.pc.in, bug #200420.
+ Cleanup ebuild.
05 Dec 2006; Jeroen Roovers <jer@gentoo.org> suikyo-2.1.0.ebuild:
Stable for HPPA (bug #156872).
diff --git a/dev-libs/suikyo/files/digest-suikyo-2.1.0-r1 b/dev-libs/suikyo/files/digest-suikyo-2.1.0-r1
new file mode 100644
index 000000000000..16130a1fcfff
--- /dev/null
+++ b/dev-libs/suikyo/files/digest-suikyo-2.1.0-r1
@@ -0,0 +1,3 @@
+MD5 d33d713c57522f5c28323e19b3f635b2 suikyo-2.1.0.tar.gz 202155
+RMD160 fb55a82666d789e3f2e7b63a8a69f4b4429d06cf suikyo-2.1.0.tar.gz 202155
+SHA256 34e4d5438372ed670c516cb92b7e0ee9d059999c420b90e0a90f924d8fde5ec3 suikyo-2.1.0.tar.gz 202155
diff --git a/dev-libs/suikyo/files/suikyo-2.1.0-pkgconfig.patch b/dev-libs/suikyo/files/suikyo-2.1.0-pkgconfig.patch
new file mode 100644
index 000000000000..9064e2853db8
--- /dev/null
+++ b/dev-libs/suikyo/files/suikyo-2.1.0-pkgconfig.patch
@@ -0,0 +1,11 @@
+diff -Naur suikyo-2.1.0.orig/suikyo.pc.in suikyo-2.1.0/suikyo.pc.in
+--- suikyo-2.1.0.orig/suikyo.pc.in 2004-01-31 17:00:55.000000000 +0900
++++ suikyo-2.1.0/suikyo.pc.in 2007-12-02 00:58:08.000000000 +0900
+@@ -1,5 +1,7 @@
+ prefix=@prefix@
+
++exec_prefix=@exec_prefix@
++
+ bindir=@bindir@
+ sbindir=@sbindir@
+ libexecdir=@libexecdir@
diff --git a/dev-libs/suikyo/suikyo-2.1.0-r1.ebuild b/dev-libs/suikyo/suikyo-2.1.0-r1.ebuild
new file mode 100644
index 000000000000..5184a6159920
--- /dev/null
+++ b/dev-libs/suikyo/suikyo-2.1.0-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $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 $
+
+inherit elisp-common eutils multilib ruby
+
+DESCRIPTION="Romaji Hiragana conversion library"
+HOMEPAGE="http://taiyaki.org/suikyo/"
+SRC_URI="http://prime.sourceforge.jp/src/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="emacs"
+
+DEPEND="emacs? ( virtual/emacs )"
+
+RUBY_ECONF="--with-suikyo-docdir=/usr/share/doc/${PF}/html
+ --with-rubydir=/usr/$(get_libdir)/ruby/site_ruby"
+
+SITEFILE=50${PN}-gentoo.el
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-pkgconfig.patch
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ erubydoc
+
+ if use emacs ; then
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ else
+ rm -rf "${D}"/usr/share/emacs/
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}