summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <opfer@gentoo.org>2007-09-16 17:33:19 +0000
committerChristian Faulhammer <opfer@gentoo.org>2007-09-16 17:33:19 +0000
commit97be8115bb911c1f3e3b1c9b83102a04b77491f4 (patch)
tree076dec429b4802568401ad1a391dfbbee3a55cd9 /net-dns
parentStable for HPPA (bug #192601). (diff)
downloadgentoo-2-97be8115bb911c1f3e3b1c9b83102a04b77491f4.tar.gz
gentoo-2-97be8115bb911c1f3e3b1c9b83102a04b77491f4.tar.bz2
gentoo-2-97be8115bb911c1f3e3b1c9b83102a04b77491f4.zip
fix support for GNU Emacs, see bug 187332
(Portage version: 2.1.3.9)
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/libidn/ChangeLog8
-rw-r--r--net-dns/libidn/files/digest-libidn-0.6.9-r23
-rw-r--r--net-dns/libidn/libidn-0.6.9-r2.ebuild74
3 files changed, 84 insertions, 1 deletions
diff --git a/net-dns/libidn/ChangeLog b/net-dns/libidn/ChangeLog
index 79d00921ee9b..d0a44e3f4797 100644
--- a/net-dns/libidn/ChangeLog
+++ b/net-dns/libidn/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-dns/libidn
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/ChangeLog,v 1.68 2007/08/15 06:04:17 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/ChangeLog,v 1.69 2007/09/16 17:33:19 opfer Exp $
+
+*libidn-0.6.9-r2 (16 Sep 2007)
+
+ 16 Sep 2007; Christian Faulhammer <opfer@gentoo.org>
+ +libidn-0.6.9-r2.ebuild:
+ fix support for GNU Emacs, see bug 187332
15 Aug 2007; Jeroen Roovers <jer@gentoo.org> libidn-0.6.9-r1.ebuild:
Stable for HPPA (bug #188420).
diff --git a/net-dns/libidn/files/digest-libidn-0.6.9-r2 b/net-dns/libidn/files/digest-libidn-0.6.9-r2
new file mode 100644
index 000000000000..f23961947108
--- /dev/null
+++ b/net-dns/libidn/files/digest-libidn-0.6.9-r2
@@ -0,0 +1,3 @@
+MD5 616135837f5aaa9fac752e6b54221fb3 libidn-0.6.9.tar.gz 2193905
+RMD160 bbf5507b33c1ae57c4b12ec60ac2ea546c3ddc8c libidn-0.6.9.tar.gz 2193905
+SHA256 f6e9baf9b5cfdab60a67d0c853198a6a528e778bc5283cef45fc4c131a2ba335 libidn-0.6.9.tar.gz 2193905
diff --git a/net-dns/libidn/libidn-0.6.9-r2.ebuild b/net-dns/libidn/libidn-0.6.9-r2.ebuild
new file mode 100644
index 000000000000..258948ca1a81
--- /dev/null
+++ b/net-dns/libidn/libidn-0.6.9-r2.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/libidn-0.6.9-r2.ebuild,v 1.1 2007/09/16 17:33:19 opfer Exp $
+
+inherit autotools elisp-common java-pkg-opt-2 mono
+
+DESCRIPTION="Internationalized Domain Names (IDN) implementation"
+HOMEPAGE="http://www.gnu.org/software/libidn/"
+SRC_URI="ftp://alpha.gnu.org/pub/gnu/libidn/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="java doc emacs mono nls"
+
+DEPEND="java? ( >=virtual/jdk-1.4
+ dev-java/gjdoc
+ mono? ( >=dev-lang/mono-0.95 )
+ )"
+RDEPEND="java? ( >=virtual/jre-1.4 )
+ mono? ( >=dev-lang/mono-0.95 )
+ emacs? ( virtual/emacs )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/0.6.9-javacflags.patch"
+ elibtoolize
+ eautomake
+}
+
+src_compile() {
+ local myconf=" --disable-csharp"
+
+ use mono && myconf="--enable-csharp=mono"
+ use emacs && myconf="${myconf} --with-lispdir="${SITELISP}/${PN}""
+
+ econf \
+ $(use_enable nls) \
+ $(use_enable java) \
+ ${myconf} \
+ || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "emake install failed"
+ dodoc AUTHORS ChangeLog FAQ NEWS README THANKS TODO
+
+ use emacs || rm -r "${D}/usr/share/emacs"
+
+ if use doc; then
+ dohtml -r doc/reference/html/*
+ fi
+
+ if use java; then
+ java-pkg_newjar "${D}/usr/share/java/${P}.jar" || die "java-pkg_newjar failed"
+ rm -rf "${D}/usr/share/java"
+
+ if use doc; then
+ java-pkg_dojavadoc doc/java
+ fi
+ fi
+}
+
+pkg_postinst() {
+ if use emacs; then
+ elog "activate Emacs support by adding the following lines to your ~/.emacs file"
+ elog " (add-to-list 'load-path \"${SITELISP}/${PN}\")"
+ elog " (load idna)"
+ elog " (load punycode)"
+ fi
+}