Inital import. Ebuild contributed by Dan <dan@intuitivelyobvious.net>. Fixes bug...
authorJan Brinkmann <luckyduck@gentoo.org>
Fri, 7 Jan 2005 13:27:35 +0000 (13:27 +0000)
committerJan Brinkmann <luckyduck@gentoo.org>
Fri, 7 Jan 2005 13:27:35 +0000 (13:27 +0000)
dev-java/sun-connector-bin/ChangeLog [new file with mode: 0644]
dev-java/sun-connector-bin/Manifest [new file with mode: 0644]
dev-java/sun-connector-bin/files/digest-sun-connector-bin-1.5 [new file with mode: 0644]
dev-java/sun-connector-bin/metadata.xml [new file with mode: 0644]
dev-java/sun-connector-bin/sun-connector-bin-1.5.ebuild [new file with mode: 0644]

diff --git a/dev-java/sun-connector-bin/ChangeLog b/dev-java/sun-connector-bin/ChangeLog
new file mode 100644 (file)
index 0000000..ccc72a7
--- /dev/null
@@ -0,0 +1,11 @@
+# ChangeLog for dev-java/sun-connector-bin
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-connector-bin/ChangeLog,v 1.1 2005/01/07 13:27:35 luckyduck Exp $
+
+*sun-connector-bin-1.5 (07 Jan 2005)
+
+  07 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org> +metadata.xml,
+  +sun-connector-bin-1.5.ebuild:
+  Inital import. Ebuild contributed by Dan <dan@intuitivelyobvious.net>. Fixes
+  bug #67406.
+
diff --git a/dev-java/sun-connector-bin/Manifest b/dev-java/sun-connector-bin/Manifest
new file mode 100644 (file)
index 0000000..c2fc689
--- /dev/null
@@ -0,0 +1,4 @@
+MD5 3832c4b6750d87100bf834824de3f906 sun-connector-bin-1.5.ebuild 1749
+MD5 200e3a1f1d64bac14fee2bce1e67377c ChangeLog 460
+MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+MD5 65fd76ef59661394b6d2a439b85e5754 files/digest-sun-connector-bin-1.5 82
diff --git a/dev-java/sun-connector-bin/files/digest-sun-connector-bin-1.5 b/dev-java/sun-connector-bin/files/digest-sun-connector-bin-1.5
new file mode 100644 (file)
index 0000000..49e880a
--- /dev/null
@@ -0,0 +1 @@
+MD5 3d6430b32525abb92e27302e2c2228d8 j2ee_connector-1_5-fr-spec-classes.zip 32288
diff --git a/dev-java/sun-connector-bin/metadata.xml b/dev-java/sun-connector-bin/metadata.xml
new file mode 100644 (file)
index 0000000..838c00a
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+</pkgmetadata>
diff --git a/dev-java/sun-connector-bin/sun-connector-bin-1.5.ebuild b/dev-java/sun-connector-bin/sun-connector-bin-1.5.ebuild
new file mode 100644 (file)
index 0000000..f016f4b
--- /dev/null
@@ -0,0 +1,60 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-connector-bin/sun-connector-bin-1.5.ebuild,v 1.1 2005/01/07 13:27:35 luckyduck Exp $
+
+inherit java-pkg
+
+DESCRIPTION="The J2EE Connector architecture provides a Java solution to the problem of connectivity between the many application servers and EISs already in existence."
+HOMEPAGE="http://java.sun.com/j2ee/connector/index.jsp"
+SRC_URI="j2ee_connector-1_5-fr-spec-classes.zip"
+LICENSE="sun-bcla-connector"
+SLOT=1.5
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RDEPEND=">=virtual/jre-1.3"
+DEPEND="app-arch/unzip"
+RESTRICT="fetch"
+
+pkg_nofetch() {
+       einfo " "
+       einfo " Due to license restrictions, we cannot fetch the"
+       einfo " distributables automagically."
+       einfo " "
+       einfo " 1. Visit ${HOMEPAGE} and select 'Downloads'"
+       einfo " 2. Select 'J2EE Connector Architecture Specification - 1.5 - Download class file."
+       einfo " 3. Download ${A}"
+       einfo " 4. Move file to ${DISTDIR}"
+       einfo " "
+}
+
+src_unpack() {
+       if [ ! -f "${DISTDIR}/${A}" ] ; then
+               echo  " "
+               echo  "!!! Missing ${DISTDIR}/${A}"
+               echo  " "
+               einfo " "
+               einfo " Due to license restrictions, we cannot fetch the"
+               einfo " distributables automagically."
+               einfo " "
+               einfo " 1. Visit ${HOMEPAGE} and select 'Downloads'"
+               einfo " 2. Select 'J2EE Connector Architecture Specification - 1.5 - Download class file."
+               einfo " 3. Download ${A}"
+               einfo " 4. Move file to ${DISTDIR}"
+               einfo " 5. Run emerge on this package again to complete"
+               einfo " "
+               die "User must manually download distfile"
+       fi
+       unzip -qq ${DISTDIR}/${A}
+}
+
+src_compile() {
+       :;
+}
+
+src_install() {
+       cd ${WORKDIR}
+
+       java-pkg_dojar connector-api.jar
+       dodoc LICENSE.txt
+}
+