summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Carlson <absinthe@gentoo.org>2003-05-14 23:25:05 +0000
committerDylan Carlson <absinthe@gentoo.org>2003-05-14 23:25:05 +0000
commitb4af7e40119120039907794f3b2fbe5f14801f3c (patch)
tree338cdddf9bcf2b162ed0a2d64372fd46d36a194f /dev-java/jdbc3-oracle
parentInitial import. (diff)
downloadhistorical-b4af7e40119120039907794f3b2fbe5f14801f3c.tar.gz
historical-b4af7e40119120039907794f3b2fbe5f14801f3c.tar.bz2
historical-b4af7e40119120039907794f3b2fbe5f14801f3c.zip
Initial import.
Diffstat (limited to 'dev-java/jdbc3-oracle')
-rw-r--r--dev-java/jdbc3-oracle/Manifest5
-rw-r--r--dev-java/jdbc3-oracle/files/digest-jdbc3-oracle-9.2.0.10
-rw-r--r--dev-java/jdbc3-oracle/files/digest-jdbc3-oracle-9.2.0.30
-rw-r--r--dev-java/jdbc3-oracle/jdbc3-oracle-9.2.0.1.ebuild82
-rw-r--r--dev-java/jdbc3-oracle/jdbc3-oracle-9.2.0.3.ebuild82
5 files changed, 167 insertions, 2 deletions
diff --git a/dev-java/jdbc3-oracle/Manifest b/dev-java/jdbc3-oracle/Manifest
index 10c1b68681e5..4b67c970f389 100644
--- a/dev-java/jdbc3-oracle/Manifest
+++ b/dev-java/jdbc3-oracle/Manifest
@@ -1,4 +1,5 @@
-MD5 ffb4adad7c50802058c15c619daf7c98 jdbc3-oracle-9.2.0.1.ebuild 2108
-MD5 3c7097d38ff105fc27fbcb5398d401b4 jdbc3-oracle-9.2.0.3.ebuild 2109
+MD5 35d6ec6de5ec170555d8ac3a54202bfb jdbc3-oracle-9.2.0.1.ebuild 2222
+MD5 c498b40467ed8fa43735871858856f6d jdbc3-oracle-9.2.0.3.ebuild 2223
+MD5 f223ead4c3c4f7fc8332264c1404e4b8 ChangeLog 472
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-jdbc3-oracle-9.2.0.1 0
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-jdbc3-oracle-9.2.0.3 0
diff --git a/dev-java/jdbc3-oracle/files/digest-jdbc3-oracle-9.2.0.1 b/dev-java/jdbc3-oracle/files/digest-jdbc3-oracle-9.2.0.1
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/dev-java/jdbc3-oracle/files/digest-jdbc3-oracle-9.2.0.1
diff --git a/dev-java/jdbc3-oracle/files/digest-jdbc3-oracle-9.2.0.3 b/dev-java/jdbc3-oracle/files/digest-jdbc3-oracle-9.2.0.3
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/dev-java/jdbc3-oracle/files/digest-jdbc3-oracle-9.2.0.3
diff --git a/dev-java/jdbc3-oracle/jdbc3-oracle-9.2.0.1.ebuild b/dev-java/jdbc3-oracle/jdbc3-oracle-9.2.0.1.ebuild
new file mode 100644
index 000000000000..feacb81b578a
--- /dev/null
+++ b/dev-java/jdbc3-oracle/jdbc3-oracle-9.2.0.1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc3-oracle/jdbc3-oracle-9.2.0.1.ebuild,v 1.1 2003/05/14 23:23:05 absinthe Exp $
+
+inherit java-pkg
+
+S=${WORKDIR}
+DESCRIPTION="JDBC 3.0 Drivers for Oracle"
+SRC_URI=""
+HOMEPAGE="http://otn.oracle.com/software/tech/java/sqlj_jdbc/htdocs/jdbc9201.html"
+KEYWORDS="x86 ppc sparc alpha"
+LICENSE="oracle-jdbc"
+SLOT="1"
+DEPEND=""
+RDEPEND=">=virtual/jdk-1.4"
+IUSE="debug doc"
+
+use debug && DISTFILE1=ojdbc14_g.jar || DISTFILE1=ojdbc14.jar
+DISTFILE2=ocrs12.zip
+DISTFILE3=javadoc.zip
+FILE1=${P}-${DISTFILE1}
+FILE2=${P}-${DISTFILE2}
+FILE3=${P}-${DISTFILE3}
+
+src_unpack() {
+ # Build File List
+ FILELIST="${FILE1} ${FILE2}"
+ use doc > /dev/null && FILELIST="${FILELIST} ${FILE3}"
+
+ # Check for distributables
+ echo " "
+ for i in ${FILELIST} ; do
+ if [ ! -f ${DISTDIR}/${i} ] ; then
+ echo "!!! MISSING FILE: ${DISTDIR}/${i}"
+ MISSING_FILES="true"
+ else
+ cp ${DISTDIR}/${i} ${S}
+ fi
+ done
+ echo " "
+
+
+ if [ "${MISSING_FILES}" == "true" ] ; then
+ einfo " "
+ einfo " Because of license terms and file name conventions, please:"
+ einfo " "
+ einfo " 1. Visit ${HOMEPAGE}"
+ einfo " (you may need to create an account on Oracle's site)"
+ einfo " 2. Download the appropriate files:"
+ einfo " 2a. ${DISTFILE1}"
+ einfo " 2b. ${DISTFILE2}"
+ use doc > /dev/null && einfo " 2c. ${DISTFILE3}"
+ einfo " 3. Rename the files:"
+ einfo " 3a. ${DISTFILE1} ---> ${FILE1}"
+ einfo " 3b. ${DISTFILE2} ---> ${FILE2}"
+ use doc > /dev/null && einfo " 3c. ${DISTFILE3} ---> ${FILE4}"
+ einfo " 4. Place the files in ${DISTDIR}"
+ einfo " 5. Repeat the emerge process to continue."
+ einfo " "
+ die "User must manually fetch/rename files"
+ fi
+
+ # Move files back to their original filenames
+ mv ${S}/${FILE1} ${S}/${DISTFILE1}
+ mv ${S}/${FILE2} ${S}/${DISTFILE2}
+ use doc && mv ${S}/${FILE3} ${S}/${DISTFILE3}
+}
+
+src_compile() {
+ einfo " This is a binary-only (bytecode) ebuild."
+}
+
+src_install() {
+ if [ -n "`use doc`" ] ; then
+ mkdir ${S}/javadoc
+ cd ${S}/javadoc
+ unzip ${DISTDIR}/${FILE3}
+ dohtml -r ${S}/javadoc/
+ fi
+ java-pkg_dojar ${S}/*.zip
+}
+
diff --git a/dev-java/jdbc3-oracle/jdbc3-oracle-9.2.0.3.ebuild b/dev-java/jdbc3-oracle/jdbc3-oracle-9.2.0.3.ebuild
new file mode 100644
index 000000000000..60eed45fad26
--- /dev/null
+++ b/dev-java/jdbc3-oracle/jdbc3-oracle-9.2.0.3.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc3-oracle/jdbc3-oracle-9.2.0.3.ebuild,v 1.1 2003/05/14 23:23:05 absinthe Exp $
+
+inherit java-pkg
+
+S=${WORKDIR}
+DESCRIPTION="JDBC 3.0 Drivers for Oracle"
+SRC_URI=""
+HOMEPAGE="http://otn.oracle.com/software/tech/java/sqlj_jdbc/htdocs/jdbc9201.html"
+KEYWORDS="x86 ppc sparc alpha"
+LICENSE="oracle-jdbc"
+SLOT="2"
+DEPEND=""
+RDEPEND=">=virtual/jdk-1.4"
+IUSE="debug doc"
+
+use debug && DISTFILE1=ojdbc14_g.jar || DISTFILE1=ojdbc14.jar
+DISTFILE2=ocrs12.zip
+DISTFILE3=javadoc.tar
+FILE1=${P}-${DISTFILE1}
+FILE2=${P}-${DISTFILE2}
+FILE3=${P}-${DISTFILE3}
+
+src_unpack() {
+ # Build File List
+ FILELIST="${FILE1} ${FILE2}"
+ use doc > /dev/null && FILELIST="${FILELIST} ${FILE3}"
+
+ # Check for distributables
+ echo " "
+ for i in ${FILELIST} ; do
+ if [ ! -f ${DISTDIR}/${i} ] ; then
+ echo "!!! MISSING FILE: ${DISTDIR}/${i}"
+ MISSING_FILES="true"
+ else
+ cp ${DISTDIR}/${i} ${S}
+ fi
+ done
+ echo " "
+
+
+ if [ "${MISSING_FILES}" == "true" ] ; then
+ einfo " "
+ einfo " Because of license terms and file name conventions, please:"
+ einfo " "
+ einfo " 1. Visit ${HOMEPAGE}"
+ einfo " (you may need to create an account on Oracle's site)"
+ einfo " 2. Download the appropriate files:"
+ einfo " 2a. ${DISTFILE1}"
+ einfo " 2b. ${DISTFILE2}"
+ use doc > /dev/null && einfo " 2c. ${DISTFILE3}"
+ einfo " 3. Rename the files:"
+ einfo " 3a. ${DISTFILE1} ---> ${FILE1}"
+ einfo " 3b. ${DISTFILE2} ---> ${FILE2}"
+ use doc > /dev/null && einfo " 3c. ${DISTFILE3} ---> ${FILE4}"
+ einfo " 4. Place the files in ${DISTDIR}"
+ einfo " 5. Repeat the emerge process to continue."
+ einfo " "
+ die "User must manually fetch/rename files"
+ fi
+
+ # Move files back to their original filenames
+ mv ${S}/${FILE1} ${S}/${DISTFILE1}
+ mv ${S}/${FILE2} ${S}/${DISTFILE2}
+ use doc && mv ${S}/${FILE3} ${S}/${DISTFILE3}
+}
+
+src_compile() {
+ einfo " This is a binary-only (bytecode) ebuild."
+}
+
+src_install() {
+ if [ -n "`use doc`" ] ; then
+ mkdir ${S}/javadoc
+ cd ${S}/javadoc
+ tar xf ${DISTDIR}/${FILE3}
+ dohtml -r ${S}/javadoc/
+ fi
+ java-pkg_dojar ${S}/*.zip
+}
+