diff options
author | Daniel Black <dragonheart@gentoo.org> | 2004-11-30 11:01:41 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2004-11-30 11:01:41 +0000 |
commit | 24eb34006c407160de9f3929e4656f8a155adaa2 (patch) | |
tree | 2f1f9df20edf6775b9df954da2634ee9e659eb53 /net-dns | |
parent | Fixed tc-getXX() sed statements (bug #72833). (Manifest recommit) (diff) | |
download | gentoo-2-24eb34006c407160de9f3929e4656f8a155adaa2.tar.gz gentoo-2-24eb34006c407160de9f3929e4656f8a155adaa2.tar.bz2 gentoo-2-24eb34006c407160de9f3929e4656f8a155adaa2.zip |
Patch to support java as per bug #72250
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/libidn/ChangeLog | 8 | ||||
-rw-r--r-- | net-dns/libidn/Manifest | 10 | ||||
-rw-r--r-- | net-dns/libidn/files/digest-libidn-0.5.11-r1 | 1 | ||||
-rw-r--r-- | net-dns/libidn/libidn-0.5.11-r1.ebuild | 55 |
4 files changed, 69 insertions, 5 deletions
diff --git a/net-dns/libidn/ChangeLog b/net-dns/libidn/ChangeLog index 60f4ad8e9a67..066d0af99ee1 100644 --- a/net-dns/libidn/ChangeLog +++ b/net-dns/libidn/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-dns/libidn # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/ChangeLog,v 1.13 2004/11/21 21:03:44 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/ChangeLog,v 1.14 2004/11/30 11:01:41 dragonheart Exp $ + +*libidn-0.5.11-r1 (30 Nov 2004) + + 30 Nov 2004; Daniel Black <dragonheart@gentoo.org> +libidn-0.5.11-r1.ebuild: + Patch to support java as per bug #72250. Patch thanks to Diego Pettenò + <dgp85@users.sourceforge.net> *libidn-0.5.11 (21 Nov 2004) diff --git a/net-dns/libidn/Manifest b/net-dns/libidn/Manifest index 216146ed9f1d..fd902b02873a 100644 --- a/net-dns/libidn/Manifest +++ b/net-dns/libidn/Manifest @@ -1,12 +1,14 @@ -MD5 063a516cc3d8e44ca2232bfec7e8bd95 libidn-0.5.4.ebuild 543 +MD5 c087dd9eec66aed804d6fb20accbf9eb ChangeLog 1548 MD5 7f79997b892a81c315b94cdc0bb97b5b libidn-0.3.7.ebuild 635 -MD5 37b761a209bf2445d0f23ada6ca07386 libidn-0.5.11.ebuild 621 MD5 1434b83540cb524dc9220a5956a41d83 libidn-0.5.0.ebuild 634 -MD5 93d96e9c5619f1801737c14f2eb25297 libidn-0.5.7.ebuild 621 -MD5 c087dd9eec66aed804d6fb20accbf9eb ChangeLog 1548 +MD5 063a516cc3d8e44ca2232bfec7e8bd95 libidn-0.5.4.ebuild 543 MD5 1652522405f5936eb29776ef8d5ffa5b metadata.xml 310 +MD5 93d96e9c5619f1801737c14f2eb25297 libidn-0.5.7.ebuild 621 +MD5 37b761a209bf2445d0f23ada6ca07386 libidn-0.5.11.ebuild 621 +MD5 05f053fba80e904a6930bdab16a351b6 libidn-0.5.11-r1.ebuild 1417 MD5 71c9d73948b2aae62f1f91b02a24904c files/digest-libidn-0.3.7 65 MD5 fc807c568d7d15366e98afb3b5d04911 files/digest-libidn-0.5.0 65 MD5 34af7cf0c0c059728bc3b2870298d456 files/digest-libidn-0.5.4 65 MD5 9735250b9caf3517e94e86f3f18ef8cd files/digest-libidn-0.5.7 65 MD5 823859b97ca0b5b2b7a9768723f050b6 files/digest-libidn-0.5.11 66 +MD5 823859b97ca0b5b2b7a9768723f050b6 files/digest-libidn-0.5.11-r1 66 diff --git a/net-dns/libidn/files/digest-libidn-0.5.11-r1 b/net-dns/libidn/files/digest-libidn-0.5.11-r1 new file mode 100644 index 000000000000..c3c5585582be --- /dev/null +++ b/net-dns/libidn/files/digest-libidn-0.5.11-r1 @@ -0,0 +1 @@ +MD5 e4f6ca9464ecbf2fc1e837869f2f3c8d libidn-0.5.11.tar.gz 1945424 diff --git a/net-dns/libidn/libidn-0.5.11-r1.ebuild b/net-dns/libidn/libidn-0.5.11-r1.ebuild new file mode 100644 index 000000000000..ff734b54cce2 --- /dev/null +++ b/net-dns/libidn/libidn-0.5.11-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/libidn-0.5.11-r1.ebuild,v 1.1 2004/11/30 11:01:41 dragonheart Exp $ + +inherit java-pkg + +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 ~sparc ~x86" +IUSE="java doc pic nls" + +DEPEND="java? ( virtual/jdk ) + doc? ( dev-util/gtk-doc )" +RDEPEND="java? ( virtual/jre )" + +check_java_config() { + JDKHOME="`java-config --jdk-home`" + if [[ -z "${JDKHOME}" || ! -d "${JDKHOME}" ]]; then + NOJDKERROR="You need to use java-config to set your JVM to a JDK!" + eerror "${NOJDKERROR}" + die "${NOJDKERROR}" + fi +} + +src_compile() { + if use java; then + check_java_config + fi + + econf \ + `use_enable nls` \ + `use_enable java` \ + `use_with pic` \ + ${myconf} || die "Configure failed" + + emake || die "Make failed" +} + +src_install() { + make install DESTDIR="${D}" || die + + if use java; then + java-pkg_dojar ${D}/usr/share/java/libidn-0.5.11.jar || die + rm ${D}/usr/share/java/libidn-0.5.11.jar + if use doc; then + dohtml -r ${S}/doc/java + fi + fi + + dodoc AUTHORS ChangeLog FAQ NEWS README THANKS TODO +} |