summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2004-04-02 09:54:37 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2004-04-02 09:54:37 +0000
commite3553cc1db696c97e1acb5ea28f645321a07ce95 (patch)
treec309a82071a1a89c603b5476df4c4155200a9009
parentInitial import, ebuild by Lukasz Strzygowski <lucass@gentoo.pl>. (Manifest re... (diff)
downloadgentoo-2-e3553cc1db696c97e1acb5ea28f645321a07ce95.tar.gz
gentoo-2-e3553cc1db696c97e1acb5ea28f645321a07ce95.tar.bz2
gentoo-2-e3553cc1db696c97e1acb5ea28f645321a07ce95.zip
Initial import. Fixes #46413.
-rw-r--r--dev-java/gnu-classpath-inetlib/ChangeLog9
-rw-r--r--dev-java/gnu-classpath-inetlib/Manifest7
-rw-r--r--dev-java/gnu-classpath-inetlib/files/digest-gnu-classpath-inetlib-200403311
-rw-r--r--dev-java/gnu-classpath-inetlib/gnu-classpath-inetlib-20040331.ebuild64
-rw-r--r--dev-java/gnu-classpath-inetlib/metadata.xml13
5 files changed, 94 insertions, 0 deletions
diff --git a/dev-java/gnu-classpath-inetlib/ChangeLog b/dev-java/gnu-classpath-inetlib/ChangeLog
new file mode 100644
index 000000000000..7517b8b2f1de
--- /dev/null
+++ b/dev-java/gnu-classpath-inetlib/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-java/inetlib
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed unde the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-classpath-inetlib/ChangeLog,v 1.1 2004/04/02 09:54:37 karltk Exp $
+
+*gnu-classpath-inetlib-20040331 (01 Apr 2004)
+
+ 01 Apr 2004; Karl Trygve Kalleberg <karltk@gentoo.org>
+ gnu-classpath-inetlib-20040331.ebuild: Initial import. Ebuild
+ submitted by myself. No joke.
diff --git a/dev-java/gnu-classpath-inetlib/Manifest b/dev-java/gnu-classpath-inetlib/Manifest
new file mode 100644
index 000000000000..73771078e3ea
--- /dev/null
+++ b/dev-java/gnu-classpath-inetlib/Manifest
@@ -0,0 +1,7 @@
+MD5 be4e8897ca20098ac1350f922f1bd802 ChangeLog 285
+MD5 0637a933ecb6e8cedfc4ddfcf3491728 metadata.xml 310
+MD5 322e8ede65f1e4b07a528ceaf2001c14 inetlib-20040331.ebuild~ 357
+MD5 41520baf9bb321e058f6f9ed51a99ebb gnu-classpath-inetlib-20040331.ebuild 487
+MD5 134b561017b1b498eb98e4591563bdf1 gnu-classpath-inetlib-20040331.ebuild~ 478
+MD5 24fa0e7795f54970b0dbc5486c210ef6 files/digest-inetlib-20040331 76
+MD5 24fa0e7795f54970b0dbc5486c210ef6 files/digest-gnu-classpath-inetlib-20040331 76
diff --git a/dev-java/gnu-classpath-inetlib/files/digest-gnu-classpath-inetlib-20040331 b/dev-java/gnu-classpath-inetlib/files/digest-gnu-classpath-inetlib-20040331
new file mode 100644
index 000000000000..4989f9bce984
--- /dev/null
+++ b/dev-java/gnu-classpath-inetlib/files/digest-gnu-classpath-inetlib-20040331
@@ -0,0 +1 @@
+MD5 c1857e7bd30809c602de26a98b3a7518 inetlib-20040331-gentoo.tar.bz2 112444
diff --git a/dev-java/gnu-classpath-inetlib/gnu-classpath-inetlib-20040331.ebuild b/dev-java/gnu-classpath-inetlib/gnu-classpath-inetlib-20040331.ebuild
new file mode 100644
index 000000000000..1ccff13a0aba
--- /dev/null
+++ b/dev-java/gnu-classpath-inetlib/gnu-classpath-inetlib-20040331.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-classpath-inetlib/gnu-classpath-inetlib-20040331.ebuild,v 1.1 2004/04/02 09:54:37 karltk Exp $
+
+inherit java-pkg
+
+DESCRIPTION="Network extensions library for GNU classpath and classpathx"
+HOMEPAGE="http://www.gnu.org/software/classpath/"
+SRC_URI="inetlib-${PV}-gentoo.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc jikes"
+DEPEND=">=virtual/jdk-1.3
+ jikes? ( >=dev-java/jikes-1.19 )"
+RDEPEND=">=virtual/jre-1.3
+ >=dev-java/jessie-0.9.7
+ >=dev-java/gnu-crypto-2.0.1
+ "
+S=${WORKDIR}/inetlib-${PV}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S} ; mkdir ext
+ (
+ cd ext
+ java-pkg_jar-from jessie
+ java-pkg_jar-from gnu-crypto
+ cp javax-security.jar javax-security-auth-callback.jar
+ cp javax-security.jar javax-security-sasl.jar
+ )
+}
+
+
+src_compile() {
+ # TODO: Add back jikes support
+
+ econf \
+ --enable-smtp \
+ --enable-imap \
+ --enable-pop3 \
+ --enable-nntp \
+ --enable-ftp \
+ --enable-gopher \
+ --with-jsse-jar=$(pwd)/ext \
+ --with-javax-security-auth-callback-jar=$(pwd)/ext \
+ --with-javax-security-sasl-jar=$(pwd)/ext \
+ || die
+ make || die
+ if use doc ; then
+ make javadoc
+ fi
+}
+
+src_install() {
+ einstall || die
+ rm -rf ${D}/usr/share/java
+ java-pkg_dojar inetlib.jar
+ use doc && dohtml -r docs/*
+ dodoc AUTHORS COPYING NEWS README
+}
+
+
+#pkg_postinst() {}
diff --git a/dev-java/gnu-classpath-inetlib/metadata.xml b/dev-java/gnu-classpath-inetlib/metadata.xml
new file mode 100644
index 000000000000..50b68a318ac8
--- /dev/null
+++ b/dev-java/gnu-classpath-inetlib/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+<herd>java</herd>
+
+<longdescription>
+GNU Classpath inetlib is an extension library to provide extra network
+protocol support for GNU Classpath and ClasspathX project, but it can
+also used standalone to make adding http, imap, pop3 and smtp client
+support to applictions.
+</longdescription>
+</pkgmetadata>